blob: ebd1da8179fb99b53080ec7c11428f685203f6e9 [file] [log] [blame]
error: no rules expected the token `:`
--> $DIR/invalid-bounds.rs:4:25
|
4 | struct A<T: 'static : ?Sized> { //~ ERROR no rules expected the token `:`
| ^ no rules expected this token in macro call
error: expected one of `+`, `,`, `=`, or `>`, found `:`
--> $DIR/invalid-bounds.rs:9:1
|
9 | / pin_project! {
10 | | struct B<T: Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
11 | | field: T,
12 | | }
13 | | }
| | ^
| | |
| | expected one of `+`, `,`, `=`, or `>`
| |_unexpected token
| in this macro invocation
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)