]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lifetimes/fullwidth-ampersand.rs
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / lifetimes / fullwidth-ampersand.rs
1 // Verify that we do not ICE when the user uses a multubyte ampersand.
2
3 fn f(_: &&()) -> &() { todo!() }
4 //~^ ERROR unknown start of token: \u{ff06}
5 //~| ERROR missing lifetime specifier [E0106]
6
7 fn main() {}