]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-46983.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / ui / issues / issue-46983.rs
1 #![feature(nll)]
2
3 fn foo(x: &u32) -> &'static u32 {
4     &*x
5     //~^ ERROR explicit lifetime required in the type of `x` [E0621]
6 }
7
8 fn main() {}