]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/gat-dont-ice-on-absent-feature-2.stderr
Rollup merge of #94019 - hermitcore:target, r=Mark-Simulacrum
[rust.git] / src / test / ui / generic-associated-types / gat-dont-ice-on-absent-feature-2.stderr
1 error[E0658]: generic associated types are unstable
2   --> $DIR/gat-dont-ice-on-absent-feature-2.rs:7:5
3    |
4 LL |     type Item<T>;
5    |     ^^^^^^^^^^^^^
6    |
7    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
8    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
9
10 error[E0658]: generic associated types are unstable
11   --> $DIR/gat-dont-ice-on-absent-feature-2.rs:12:5
12    |
13 LL |     type Item<T> = T;
14    |     ^^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
17    = help: add `#![feature(generic_associated_types)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.