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

error[E0401]: can't use generic parameters from outer function
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 generic parameter from outer function
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 previous error
For more information about this error, try `rustc --explain E0401`.