]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12187-2.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[rust.git] / src / test / ui / issues / issue-12187-2.rs
1 fn new<'r, T>() -> &'r T {
2     panic!()
3 }
4
5 fn main() {
6     let &v = new();
7     //~^ ERROR type annotations needed
8 }