Skip to content

Commit dc4242d

Browse files
committedFeb 11, 2020
Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPC
Make issue references consistent Fixes #62976 cc #63008 r? @varkor because you reviewed the original pr
2 parents 0f0cdf6 + 7b55517 commit dc4242d

File tree

266 files changed

+778
-735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+778
-735
lines changed
 

Diff for: ‎src/librustc/traits/error_reporting/mod.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,11 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
702702
if self.predicate_may_hold(&unit_obligation) {
703703
err.note(
704704
"the trait is implemented for `()`. \
705-
Possibly this error has been caused by changes to \
706-
Rust's type-inference algorithm \
707-
(see: https://github.com/rust-lang/rust/issues/48950 \
708-
for more info). Consider whether you meant to use the \
709-
type `()` here instead.",
705+
Possibly this error has been caused by changes to \
706+
Rust's type-inference algorithm (see issue #48950 \
707+
<https://github.com/rust-lang/rust/issues/48950> \
708+
for more information). Consider whether you meant to use \
709+
the type `()` here instead.",
710710
);
711711
}
712712
}

Diff for: ‎src/librustc/traits/error_reporting/suggestions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1511,9 +1511,9 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
15111511
);
15121512
if suggest_const_in_array_repeat_expressions {
15131513
err.note(
1514-
"this array initializer can be evaluated at compile-time, for more \
1515-
information, see issue \
1516-
https://github.com/rust-lang/rust/issues/49147",
1514+
"this array initializer can be evaluated at compile-time, see issue \
1515+
#48147 <https://github.com/rust-lang/rust/issues/49147> \
1516+
for more information",
15171517
);
15181518
if tcx.sess.opts.unstable_features.is_nightly_build() {
15191519
err.help(

0 commit comments

Comments
 (0)
Please sign in to comment.