rust/tests/ui/resolve/issue-12796.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
390 B
Plaintext
Raw Normal View History

error[E0401]: can't use `Self` from outer item
2018-12-25 15:56:47 +00:00
--> $DIR/issue-12796.rs:3:22
2018-07-15 21:11:54 +00:00
|
LL | fn inner(_: &Self) {
| ^^^^
| |
| use of `Self` from outer item
2018-09-05 15:39:50 +00:00
| can't use `Self` here
2018-07-15 21:11:54 +00:00
error: aborting due to 1 previous error
2018-07-15 21:11:54 +00:00
For more information about this error, try `rustc --explain E0401`.