]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/orphan-check-diagnostics.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / orphan-check-diagnostics.stderr
index dc134dd8d6f54354a49f39c146d5f59317d4ad25..4bd6aa2c154bd1c0529588c2f3c87458462d2e1e 100644 (file)
@@ -1,5 +1,5 @@
-error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g. `MyStruct<T>`)
-  --> $DIR/orphan-check-diagnostics.rs:20:1
+error[E0210]: type parameter `T` must be used as the type parameter for some local type (e.g., `MyStruct<T>`)
+  --> $DIR/orphan-check-diagnostics.rs:10:1
    |
 LL | impl<T> RemoteTrait for T where T: LocalTrait {}
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type parameter `T` must be used as the type parameter for some local type