]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/missing-closing-angle-bracket-struct-field-ty.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / missing-closing-angle-bracket-struct-field-ty.rs
1 // run-rustifx
2 #![allow(unused)]
3 use std::sync::{Arc, Mutex};
4
5 pub struct Foo {
6     a: Mutex<usize>,
7     b: Arc<Mutex<usize>, //~ HELP you might have meant to end the type parameters here
8     c: Arc<Mutex<usize>>,
9 } //~ ERROR expected one of
10
11 fn main() {}