1 // Regression test for issue #66898
2 // Tests that we don't emit a nonsensical error message
3 // when a macro invocation tries to access `self` from a function
4 // that has a 'self' parameter
8 macro_rules! call_bar {
10 self.bar(); //~ ERROR expected value