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

14 lines
277 B
Rust
Raw Normal View History

2019-05-28 14:46:13 -04:00
#![allow(bare_trait_objects)]
2016-06-01 16:30:13 +02:00
trait Foo {}
struct Bar<'a> {
2017-11-20 13:13:27 +01:00
w: &'a Foo + Copy, //~ ERROR expected a path
x: &'a Foo + 'a, //~ ERROR expected a path
y: &'a mut Foo + 'a, //~ ERROR expected a path
z: fn() -> Foo + 'a, //~ ERROR expected a path
2016-06-01 16:30:13 +02:00
}
fn main() {
}