mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-03 13:13:18 +00:00 
			
		
		
		
	fix: box_syntax(#1412)
Change-Id: I6e20e0163fa545de37226c1561b3b7103615626c
This commit is contained in:
		
							parent
							
								
									1541b2d689
								
							
						
					
					
						commit
						5999733ca6
					
				@ -583,3 +583,8 @@ pub(crate) fn named_field_list(p: &mut Parser) {
 | 
			
		||||
    p.expect(T!['}']);
 | 
			
		||||
    m.complete(p, NAMED_FIELD_LIST);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// test box_syntax
 | 
			
		||||
// fn foo() {
 | 
			
		||||
//     let x = box 1i32;
 | 
			
		||||
// }
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1,3 @@
 | 
			
		||||
fn foo() {
 | 
			
		||||
    let x = box 1i32;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user