rust/tests/ui/resolve/issue-12796.rs
2023-01-11 09:32:08 +00:00

10 lines
170 B
Rust

trait Trait {
fn outer(&self) {
fn inner(_: &Self) {
//~^ ERROR can't use generic parameters from outer function
}
}
}
fn main() { }