]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/specialization/deafult-associated-type-bound-2.stderr
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / specialization / deafult-associated-type-bound-2.stderr
index a14024c160f76f37b4d0060406be270493a289c1..2bc14dbe3b2e7542394faefebbe46baf19baf8c7 100644 (file)
@@ -6,12 +6,13 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0277]: can't compare `&'static B` with `B`
   --> $DIR/deafult-associated-type-bound-2.rs:16:5
    |
 LL |     type U: PartialEq<T>;
-   |     --------------------- required by `X::U`
+   |             ------------ required by this bound in `X::U`
 ...
 LL |     default type U = &'static B;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&'static B == B`