rust/tests/ui/resolve/local-shadows-inner-generic.rs

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

9 lines
115 B
Rust
Raw Permalink Normal View History

//@ check-pass
#![allow(non_camel_case_types)]
pub fn main() {
let a = 1;
struct Foo<a> { field: a, };
}