]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/issue-76535.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-76535.stderr
1 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/issue-76535.rs:1:12
3 |
4 LL | #![feature(generic_associated_types)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #44265 <https://github.com/rust-lang/rust/issues/44265> for more information
9
10 error[E0107]: missing generics for associated type `SuperTrait::SubType`
11 --> $DIR/issue-76535.rs:7:10
12 |
13 LL | type SubType<'a>: SubTrait;
14 | ^^^^^^^ expected 1 lifetime argument
15 |
16 note: associated type defined here, with 1 lifetime parameter: `'a`
17 --> $DIR/issue-76535.rs:7:10
18 |
19 LL | type SubType<'a>: SubTrait;
20 | ^^^^^^^ --
21 help: use angle brackets to add missing lifetime argument
22 |
23 LL | type SubType<'a><'a>: SubTrait;
24 | ^^^^
25
26 error: aborting due to previous error; 1 warning emitted
27
28 For more information about this error, try `rustc --explain E0107`.