]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-5521.rs
Rollup merge of #107152 - GuillaumeGomez:migrate-to-css-var, r=notriddle
[rust.git] / tests / ui / issues / issue-5521.rs
1 // run-pass
2 #![allow(dead_code)]
3 // aux-build:issue-5521.rs
4
5
6
7 extern crate issue_5521 as foo;
8
9 fn bar(a: foo::map) {
10     if false {
11         panic!();
12     } else {
13         let _b = &(*a)[&2];
14     }
15 }
16
17 fn main() {}