]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/trivial-bounds/trivial-bounds-inconsistent-sized.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / trivial-bounds / trivial-bounds-inconsistent-sized.stderr
index a80ebc173f03706ce2dc0d3bc7d421c69693b6f2..d4fa698c7375fa2e3dec0dcf8ff92858d7661424 100644 (file)
@@ -7,13 +7,13 @@ LL | struct S(str, str) where str: Sized;
    = note: `#[warn(trivial_bounds)]` on by default
 
 warning: Trait bound for<'a> T<(dyn A + 'a)>: std::marker::Sized does not depend on any type or lifetime parameters
-  --> $DIR/trivial-bounds-inconsistent-sized.rs:16:49
+  --> $DIR/trivial-bounds-inconsistent-sized.rs:17:49
    |
 LL | fn unsized_local() where for<'a> T<dyn A + 'a>: Sized {
    |                                                 ^^^^^
 
 warning: Trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
-  --> $DIR/trivial-bounds-inconsistent-sized.rs:20:35
+  --> $DIR/trivial-bounds-inconsistent-sized.rs:22:35
    |
 LL | fn return_str() -> str where str: Sized {
    |                                   ^^^^^