]> git.proxmox.com Git - rustc.git/blame_incremental - src/test/ui/issues/issue-36638.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-36638.stderr
... / ...
CommitLineData
1error: expected identifier, found keyword `Self`
2 --> $DIR/issue-36638.rs:1:12
3 |
4LL | struct Foo<Self>(Self);
5 | ^^^^ expected identifier, found keyword
6
7error: expected identifier, found keyword `Self`
8 --> $DIR/issue-36638.rs:5:11
9 |
10LL | trait Bar<Self> {}
11 | ^^^^ expected identifier, found keyword
12
13error[E0392]: parameter `Self` is never used
14 --> $DIR/issue-36638.rs:1:12
15 |
16LL | struct Foo<Self>(Self);
17 | ^^^^ unused parameter
18 |
19 = help: consider removing `Self`, referring to it in a field, or using a marker such as `PhantomData`
20 = help: if you intended `Self` to be a const parameter, use `const Self: usize` instead
21
22error: aborting due to 3 previous errors
23
24For more information about this error, try `rustc --explain E0392`.