update links
This commit is contained in:
parent
c23f07d8c5
commit
8ca798616a
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 { ... }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue