]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/trait-bounds-on-structs-and-enums-static.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / traits / trait-bounds-on-structs-and-enums-static.stderr
index 722f01750cb66e0cb5aacef8f235a6ba2939a43e..4b650e78badf99701f2d32bdcbea158fa24eee25 100644 (file)
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `usize: Trait` is not satisfied
   --> $DIR/trait-bounds-on-structs-and-enums-static.rs:9:11
    |
 LL | struct Foo<T:Trait> {
-   | ------------------- required by `Foo`
+   |              ----- required by this bound in `Foo`
 ...
 LL | static X: Foo<usize> = Foo {
    |           ^^^^^^^^^^ the trait `Trait` is not implemented for `usize`