blob: cafdbc399616f69f21e3a5be17b952c9a64742c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// run-pass
#![allow(dead_code)]
// aux-build:issue-5521.rs
extern crate issue_5521 as foo;
fn bar(a: foo::map) {
if false {
panic!();
} else {
let _b = &(*a)[&2];
}
}
fn main() {}
|