mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	proc-macros are processed early in the compiler pipeline. There is no need to involve codegen. So change to check-pass. I have also looked through each changed test and to me it is sufficiently clear that codegen is not needed for the purpose of the test. I skipped changing tests/ui/proc-macro/no-missing-docs.rs in this commit because it was not clear to me that it can be changed to check-pass.
		
			
				
	
	
		
			14 lines
		
	
	
		
			162 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			162 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
// check-pass
 | 
						|
// aux-build:test-macros.rs
 | 
						|
 | 
						|
extern crate test_macros;
 | 
						|
 | 
						|
mod inner {
 | 
						|
    use test_macros::Empty;
 | 
						|
 | 
						|
    #[derive(Empty)]
 | 
						|
    struct S;
 | 
						|
}
 | 
						|
 | 
						|
fn main() {}
 |