]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-12796.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-12796.rs
1 trait Trait {
2     fn outer(&self) {
3         fn inner(_: &Self) {
4             //~^ ERROR can't use generic parameters from outer function
5         }
6     }
7 }
8
9 fn main() { }