fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0424]: expected value, found module `self` 2 --> $DIR/E0424.rs:7:9 3 | 4LL | self.bar(); 5 | ^^^^ `self` value is a keyword only available in methods with `self` parameter 6 7error[E0424]: expected unit struct/variant or constant, found module `self` 8 --> $DIR/E0424.rs:12:9 9 | 10LL | let self = "self"; 11 | ^^^^ `self` value is a keyword and may not be bound to variables or shadowed 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0424`.