]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-12796.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-12796.stderr
1 error[E0401]: can't use generic parameters from outer function
2   --> $DIR/issue-12796.rs:3:22
3    |
4 LL |         fn inner(_: &Self) {
5    |                      ^^^^
6    |                      |
7    |                      use of generic parameter from outer function
8    |                      can't use `Self` here
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0401`.