fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
419 B12 linesraw
1error[E0401]: can't use generic parameters from outer function
2  --> $DIR/issue-12796.rs:3:22
3   |
4LL |         fn inner(_: &Self) {
5   |                      ^^^^
6   |                      |
7   |                      use of generic parameter from outer function
8   |                      can't use `Self` here
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0401`.