rust/src/test/ui/rfc-2632-const-trait-impl/without-tilde.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
417 B
Text
Raw Normal View History

error: expected identifier, found keyword `const`
2021-08-27 08:26:35 +00:00
--> $DIR/without-tilde.rs:5:13
|
LL | struct S<T: const Tr>;
| ^^^^^ expected identifier, found keyword
2021-08-27 08:26:35 +00:00
error: expected one of `(`, `+`, `,`, `::`, `<`, `=`, or `>`, found `Tr`
--> $DIR/without-tilde.rs:5:19
|
LL | struct S<T: const Tr>;
| ^^ expected one of 7 possible tokens
error: aborting due to 2 previous errors
2021-08-27 08:26:35 +00:00