]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/trivial-bounds/trivial-bounds-inconsistent-sized.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / trivial-bounds / trivial-bounds-inconsistent-sized.stderr
index aa5d4fcc724c2ce0b41a860163a67c043751fed9..ff254edbd7b0ca6d4878cb58f9fb00dc9567e069 100644 (file)
@@ -1,4 +1,4 @@
-warning: Trait bound str: std::marker::Sized does not depend on any type or lifetime parameters
+warning: Trait bound str: Sized does not depend on any type or lifetime parameters
   --> $DIR/trivial-bounds-inconsistent-sized.rs:14:31
    |
 LL | struct S(str, str) where str: Sized;
@@ -6,13 +6,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
+warning: Trait bound for<'a> T<(dyn A + 'a)>: Sized does not depend on any type or lifetime parameters
   --> $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
+warning: Trait bound str: Sized does not depend on any type or lifetime parameters
   --> $DIR/trivial-bounds-inconsistent-sized.rs:22:35
    |
 LL | fn return_str() -> str where str: Sized {