]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/ui-testing-optout.stderr
Add test for issue-57200
[rust.git] / src / test / ui / ui-testing-optout.stderr
index 313e198e39e36986aa9184f7a9552471c30206e6..ff5bf6238e20b5e71931e625cc05cad0fe6b2d4f 100644 (file)
@@ -2,17 +2,26 @@ error[E0412]: cannot find type `B` in this scope
  --> $DIR/ui-testing-optout.rs:4:10
   |
 4 | type A = B;
-  |          ^ help: a type alias with a similar name exists: `A`
+  | ---------^-
+  | |        |
+  | |        help: a type alias with a similar name exists: `A`
+  | similarly named type alias `A` defined here
 
 error[E0412]: cannot find type `D` in this scope
   --> $DIR/ui-testing-optout.rs:10:10
    |
+4  | type A = B;
+   | ----------- similarly named type alias `A` defined here
+...
 10 | type C = D;
    |          ^ help: a type alias with a similar name exists: `A`
 
 error[E0412]: cannot find type `F` in this scope
   --> $DIR/ui-testing-optout.rs:95:10
    |
+4  | type A = B;
+   | ----------- similarly named type alias `A` defined here
+...
 95 | type E = F;
    |          ^ help: a type alias with a similar name exists: `A`