1
Fork 0
rust/tests/ui/resolve/issue-12796.rs

10 lines
170 B
Rust
Raw Normal View History

trait Trait {
2015-12-11 20:59:11 +13:00
fn outer(&self) {
fn inner(_: &Self) {
//~^ ERROR can't use generic parameters from outer function
}
}
}
fn main() { }