]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0490.rs
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' 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() {}