]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/resolve-unknown-trait.stderr
Rollup merge of #97812 - TaKO8Ki:suggest-to-swap-struct-and-trait, r=estebank
[rust.git] / src / test / ui / resolve / resolve-unknown-trait.stderr
index 74b190f86845fcd23369cd7c83a970efc03b4d7a..e19cfe617d4f264cd98aef1736625a83d737974d 100644 (file)
@@ -1,17 +1,17 @@
 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
-  --> $DIR/resolve-unknown-trait.rs:12:18
+  --> $DIR/resolve-unknown-trait.rs:1:18
    |
 LL | trait NewTrait : SomeNonExistentTrait {}
    |                  ^^^^^^^^^^^^^^^^^^^^ not found in this scope
 
 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
-  --> $DIR/resolve-unknown-trait.rs:15:6
+  --> $DIR/resolve-unknown-trait.rs:4:6
    |
 LL | impl SomeNonExistentTrait for isize {}
    |      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
 
 error[E0405]: cannot find trait `SomeNonExistentTrait` in this scope
-  --> $DIR/resolve-unknown-trait.rs:18:8
+  --> $DIR/resolve-unknown-trait.rs:7:8
    |
 LL | fn f<T:SomeNonExistentTrait>() {}
    |        ^^^^^^^^^^^^^^^^^^^^ not found in this scope