]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-11869.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-11869.rs
1 // check-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 struct A {
6 a: String
7 }
8
9 fn borrow<'a>(binding: &'a A) -> &'a str {
10 match &*binding.a {
11 "in" => "in_",
12 "ref" => "ref_",
13 ident => ident
14 }
15 }
16
17 fn main() {}