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
413 B
Plaintext
Raw Normal View History

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