]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/pub-item-inside-macro.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / macros / pub-item-inside-macro.rs
1 // run-pass
2 // Issue #14660
3
4 // pretty-expanded FIXME #23616
5
6 mod bleh {
7     macro_rules! foo {
8         () => {
9             pub fn bar() { }
10         }
11     }
12
13     foo!();
14 }
15
16 fn main() {
17     bleh::bar();
18 }