]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12796.stderr
Auto merge of #53304 - dtolnay:extend, r=dtolnay
[rust.git] / src / test / ui / issues / issue-12796.stderr
1 error[E0401]: can't use type parameters from outer function
2   --> $DIR/issue-12796.rs:13:22
3    |
4 LL |         fn inner(_: &Self) {
5    |            -----     ^^^^ use of type variable from outer function
6    |            |
7    |            help: try using a local type parameter instead: `inner<Self>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0401`.