]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/issue-86667.rs
1 // Regression test for #86667, where a garbled suggestion was issued for
2 // a missing named lifetime parameter.
4 // compile-flags: --edition 2018
6 async
fn a(s1
: &str, s2
: &str) -> &str {
7 //~^ ERROR: missing lifetime specifier [E0106]
11 fn b(s1
: &str, s2
: &str) -> &str {
12 //~^ ERROR: missing lifetime specifier [E0106]