rust/src/test/ui/issues/issue-36638.stderr
Esteban Küber d6ea6b972d fix tidy
2019-05-31 13:50:04 -07:00

24 lines
689 B
Plaintext

error: expected identifier, found keyword `Self`
--> $DIR/issue-36638.rs:1:12
|
LL | struct Foo<Self>(Self);
| ^^^^ expected identifier, found keyword
error: expected identifier, found keyword `Self`
--> $DIR/issue-36638.rs:5:11
|
LL | trait Bar<Self> {}
| ^^^^ expected identifier, found keyword
error[E0392]: parameter `Self` is never used
--> $DIR/issue-36638.rs:1: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`.