rust/tests/ui/resolve/issue-12796.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
166 B
Rust
Raw Normal View History

trait Trait {
2015-12-11 07:59:11 +00:00
fn outer(&self) {
fn inner(_: &Self) {
2023-09-10 21:06:14 +00:00
//~^ ERROR can't use generic parameters from outer item
}
}
}
fn main() { }