rust/tests/ui/error-codes/E0496.rs

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

12 lines
121 B
Rust
Raw Normal View History

2016-08-23 08:35:59 -05:00
struct Foo<'a> {
a: &'a i32,
}
impl<'a> Foo<'a> {
fn f<'a>(x: &'a i32) { //~ ERROR E0496
}
}
fn main() {
}