]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0490.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / ui / error-codes / E0490.rs
1 fn f<'a, 'b>(y: &'b ()) {
2     let x: &'a _ = &y;
3     //~^ E0490
4     //~| E0495
5     //~| E0495
6 }
7
8 fn main() {}