
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
21 lines
222 B
Rust
21 lines
222 B
Rust
//@ run-pass
|
|
// Issue #17436
|
|
|
|
|
|
mod bleh {
|
|
macro_rules! foo {
|
|
() => {
|
|
pub fn bar(&self) { }
|
|
}
|
|
}
|
|
|
|
pub struct S;
|
|
|
|
impl S {
|
|
foo!();
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
bleh::S.bar();
|
|
}
|