]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-12796.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[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() { }