rust/tests/ui/parser/missing-closing-angle-bracket-struct-field-ty.rs

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

12 lines
256 B
Rust
Raw Normal View History

// 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() {}