blob: 980bb952eaeb1852d5e311d89fc4531323e1a388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
use pin_project_lite::pin_project;
pin_project! {
struct A<T: 'static : ?Sized> { //~ ERROR no rules expected the token `:`
field: T,
}
}
pin_project! {
struct B<T: Sized : 'static> { //~ ERROR expected one of `+`, `,`, `=`, or `>`, found `:`
field: T,
}
}
fn main() {}
|