mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			256 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // 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() {}
 | 
