]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-69378-ice-on-invalid-type-node-after-recovery.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / typeck / issue-69378-ice-on-invalid-type-node-after-recovery.rs
1 // Regression test for #69378: no type for node after struct parse recovery
2
3 struct Foo { 0: u8 } //~ ERROR expected identifier
4
5 fn test(f: Foo) {
6     Foo{foo: 4, ..f};
7 }
8
9 fn main() {}