mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			305 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			305 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // Regression test for <https://github.com/rust-lang/rust/pull/113374> to
 | |
| // ensure it doesn't panic.
 | |
| 
 | |
| mod generics {
 | |
|     pub enum WherePredicate {
 | |
|         EqPredicate,
 | |
|     }
 | |
| }
 | |
| pub mod visit {
 | |
|     use *;
 | |
|     pub fn visit_where_predicate<V>(_visitor: &mut V, _i: &WherePredicate) {}
 | |
| }
 | |
| pub use generics::*;
 | 
