Skip to content

Commit 8dc8eb6

Browse files
authored
Unrolled build for #144824
Rollup merge of #144824 - Kivooeo:update-links, r=Noratrieb Updated test links in compiler Updated test links since a bunch of tests got moved around from the top level recently r? compiler
2 parents f34ba77 + 8ca7986 commit 8dc8eb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_hir_typeck/src/method/confirm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl<'a, 'tcx> ConfirmContext<'a, 'tcx> {
116116
// If there is a `Self: Sized` bound and `Self` is a trait object, it is possible that
117117
// something which derefs to `Self` actually implements the trait and the caller
118118
// wanted to make a static dispatch on it but forgot to import the trait.
119-
// See test `tests/ui/issue-35976.rs`.
119+
// See test `tests/ui/issues/issue-35976.rs`.
120120
//
121121
// In that case, we'll error anyway, but we'll also re-run the search with all traits
122122
// in scope, and if we find another method which can be used, we'll output an

compiler/rustc_hir_typeck/src/method/probe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> {
20512051
/// probe. This will result in a pending obligation so when more type-info is available we can
20522052
/// make the final decision.
20532053
///
2054-
/// Example (`tests/ui/method-two-trait-defer-resolution-1.rs`):
2054+
/// Example (`tests/ui/methods/method-two-trait-defer-resolution-1.rs`):
20552055
///
20562056
/// ```ignore (illustrative)
20572057
/// trait Foo { ... }

0 commit comments

Comments
 (0)