]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-46983.rs
Rollup merge of #104347 - notriddle:notriddle/import-macro-from-self-fixup, r=TaKO8Ki
[rust.git] / tests / ui / issues / issue-46983.rs
1 fn foo(x: &u32) -> &'static u32 {
2     &*x
3     //~^ ERROR lifetime may not live long enough
4 }
5
6 fn main() {}