1 error[E0424]: expected value, found module `self`
2 --> $DIR/missing-self-diag.rs:10:9
5 | ^^^^ `self` value is a keyword only available in methods with a `self` parameter
7 LL | / pub fn foo(&self) {
9 | | ----------- in this macro invocation
11 | |_____- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters
13 = note: this error originates in the macro `call_bar` (in Nightly builds, run with -Z macro-backtrace for more info)
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0424`.