]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/traits/associated_type_bound/check-trait-object-bounds-1.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / traits / associated_type_bound / check-trait-object-bounds-1.stderr
index bfbbe7fd25702b137c24df2c62af1f7998f793ef..fa7a8a2a093358aedfa136e480000cc29c23d9ce 100644 (file)
@@ -1,8 +1,8 @@
 error[E0277]: the trait bound `str: Clone` is not satisfied
-  --> $DIR/check-trait-object-bounds-1.rs:12:5
+  --> $DIR/check-trait-object-bounds-1.rs:12:9
    |
 LL |     f::<dyn X<Y = str>>();
-   |     ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str`
+   |         ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str`
    |
    = help: the trait `Clone` is implemented for `String`
 note: required by a bound in `f`