summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/missing-closing-angle-bracket-struct-field-ty.rs
blob: d69a56c51d3f4bc81d86d9f8e7cfa266e024c054 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-rustifx
#![allow(unused)]
use std::sync::{Arc, Mutex};

pub struct Foo {
    a: Mutex<usize>,
    b: Arc<Mutex<usize>, //~ HELP you might have meant to end the type parameters here
    c: Arc<Mutex<usize>>,
} //~ ERROR expected one of

fn main() {}