]> git.lizzy.rs Git - rust.git/blob - tests/ui/enum/enum-in-scope.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / enum / enum-in-scope.rs
1 #![allow(non_camel_case_types)]
2
3 struct hello(isize);
4
5 fn main() {
6     let hello = 0; //~ERROR let bindings cannot shadow tuple structs
7 }