]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12863.rs
Auto merge of #55519 - fhartwig:hashmap-index-example, r=Centril
[rust.git] / src / test / ui / issues / issue-12863.rs
1 mod foo { pub fn bar() {} }
2
3 fn main() {
4     match () {
5         foo::bar => {} //~ ERROR expected unit struct/variant or constant, found function `foo::bar`
6     }
7 }