mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	 94477e3323
			
		
	
	
		94477e3323
		
	
	
	
	
		
			
			In fc357039f9 `#[main]` was removed and replaced with `#[rustc_main]`. In some place the rename was forgotten, which makes the current code confusing, because at first glance it seems that `#[main]` is still around. Perform the renames also in these places.
		
			
				
	
	
		
			9 lines
		
	
	
		
			173 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			173 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #[derive(Debug)]
 | |
| pub enum EntryPointType {
 | |
|     None,
 | |
|     MainNamed,
 | |
|     RustcMainAttr,
 | |
|     Start,
 | |
|     OtherMain, // Not an entry point, but some other function named main
 | |
| }
 |