]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0424.stderr
move interface to the unikernel in the crate hermit-abi
[rust.git] / src / test / ui / error-codes / E0424.stderr
1 error[E0424]: expected value, found module `self`
2   --> $DIR/E0424.rs:7:9
3    |
4 LL |         self.bar();
5    |         ^^^^ `self` value is a keyword only available in methods with `self` parameter
6
7 error[E0424]: expected unit struct/variant or constant, found module `self`
8   --> $DIR/E0424.rs:12:9
9    |
10 LL |     let self = "self";
11    |         ^^^^ `self` value is a keyword and may not be bound to variables or shadowed
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0424`.