summary refs log tree commit diff
path: root/src/test/ui/issues/issue-36638.stderr
blob: 2e44086161110750cffbab6565a8543c08b99f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: expected identifier, found keyword `Self`
  --> $DIR/issue-36638.rs:3:12
   |
LL | struct Foo<Self>(Self);
   |            ^^^^ expected identifier, found keyword

error: expected identifier, found keyword `Self`
  --> $DIR/issue-36638.rs:7:11
   |
LL | trait Bar<Self> {}
   |           ^^^^ expected identifier, found keyword

error[E0392]: parameter `Self` is never used
  --> $DIR/issue-36638.rs:3:12
   |
LL | struct Foo<Self>(Self);
   |            ^^^^ unused parameter
   |
   = help: consider removing `Self` or using a marker such as `std::marker::PhantomData`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0392`.