]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/missing_lifetime_const.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / missing_lifetime_const.stderr
index 6c66312e7b160099cf7e25c1179ed2b2f75cadba..02d3cd2e8d5f9e7f7b1603e78a1e483af9f8ccf2 100644 (file)
@@ -1,20 +1,11 @@
-warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
-  --> $DIR/missing_lifetime_const.rs:1: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[E0107]: this associated type takes 1 lifetime argument but 0 lifetime arguments were supplied
-  --> $DIR/missing_lifetime_const.rs:9:24
+  --> $DIR/missing_lifetime_const.rs:8:24
    |
 LL |     let _: <T as Foo>::Assoc<3>;
    |                        ^^^^^ expected 1 lifetime argument
    |
 note: associated type defined here, with 1 lifetime parameter: `'a`
-  --> $DIR/missing_lifetime_const.rs:5:10
+  --> $DIR/missing_lifetime_const.rs:4:10
    |
 LL |     type Assoc<'a, const N: usize>;
    |          ^^^^^ --
@@ -23,6 +14,6 @@ help: add missing lifetime argument
 LL |     let _: <T as Foo>::Assoc<'a, 3>;
    |                              ^^^
 
-error: aborting due to previous error; 1 warning emitted
+error: aborting due to previous error
 
 For more information about this error, try `rustc --explain E0107`.