]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/projection-bound-cycle-generic.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / projection-bound-cycle-generic.stderr
index d27e46f6836df9cf5483e53a07d5599732770704..d5e9caf9ecd4e3f0bc2a15cd7300791bf2fcf013 100644 (file)
@@ -1,14 +1,5 @@
-warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
-  --> $DIR/projection-bound-cycle-generic.rs:4:12
-   |
-LL | #![feature(generic_associated_types)]
-   |            ^^^^^^^^^^^^^^^^^^^^^^^^
-   |
-   = note: `#[warn(incomplete_features)]` on by default
-   = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
-
 error[E0275]: overflow evaluating the requirement `<T as Foo>::Item: Sized`
-  --> $DIR/projection-bound-cycle-generic.rs:45:5
+  --> $DIR/projection-bound-cycle-generic.rs:44:5
    |
 LL | struct OnlySized<T> where T: Sized { f: T }
    |                  - required by this bound in `OnlySized`
@@ -16,6 +7,6 @@ LL | struct OnlySized<T> where T: Sized { f: T }
 LL |     type Assoc = OnlySized<<T as Foo>::Item>;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-error: aborting due to previous error; 1 warning emitted
+error: aborting due to previous error
 
 For more information about this error, try `rustc --explain E0275`.