2018-07-15 16:11:54 -05:00
|
|
|
error[E0401]: can't use type parameters from outer function
|
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) {
|
2018-09-04 12:41:33 -05:00
|
|
|
| ^^^^
|
|
|
|
| |
|
|
|
|
| use of type variable from outer function
|
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 previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0401`.
|