diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-03 21:57:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-03 21:57:00 +0200 |
| commit | c7f248186b25799fcf86a8bbc1d47016dccc305b (patch) | |
| tree | 79c41b088521479f3927c851d76785a9929d9052 /compiler | |
| parent | 5b751d75b4b39b952571d1bebdc161f76c7a6ed7 (diff) | |
| parent | 8ca798616acbbb87f80d74bd16c0e753a3cadc33 (diff) | |
| download | rust-c7f248186b25799fcf86a8bbc1d47016dccc305b.tar.gz rust-c7f248186b25799fcf86a8bbc1d47016dccc305b.zip | |
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
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_hir_typeck/src/method/confirm.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_hir_typeck/src/method/probe.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_typeck/src/method/confirm.rs b/compiler/rustc_hir_typeck/src/method/confirm.rs index 79996ff482e..a23910a2006 100644 --- a/compiler/rustc_hir_typeck/src/method/confirm.rs +++ b/compiler/rustc_hir_typeck/src/method/confirm.rs @@ -116,7 +116,7 @@ impl<'a, 'tcx> ConfirmContext<'a, 'tcx> { // If there is a `Self: Sized` bound and `Self` is a trait object, it is possible that // something which derefs to `Self` actually implements the trait and the caller // wanted to make a static dispatch on it but forgot to import the trait. - // See test `tests/ui/issue-35976.rs`. + // See test `tests/ui/issues/issue-35976.rs`. // // In that case, we'll error anyway, but we'll also re-run the search with all traits // in scope, and if we find another method which can be used, we'll output an diff --git a/compiler/rustc_hir_typeck/src/method/probe.rs b/compiler/rustc_hir_typeck/src/method/probe.rs index 1f3969bd93c..3ca3b56b87e 100644 --- a/compiler/rustc_hir_typeck/src/method/probe.rs +++ b/compiler/rustc_hir_typeck/src/method/probe.rs @@ -2051,7 +2051,7 @@ impl<'a, 'tcx> ProbeContext<'a, 'tcx> { /// probe. This will result in a pending obligation so when more type-info is available we can /// make the final decision. /// - /// Example (`tests/ui/method-two-trait-defer-resolution-1.rs`): + /// Example (`tests/ui/methods/method-two-trait-defer-resolution-1.rs`): /// /// ```ignore (illustrative) /// trait Foo { ... } |
