mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			279 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			279 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![feature(non_lifetime_binders)]
 | 
						|
#![allow(incomplete_features)]
 | 
						|
 | 
						|
pub trait Trait {}
 | 
						|
 | 
						|
pub struct Wrapper<T: ?Sized>(Box<T>);
 | 
						|
 | 
						|
// @has non_lifetime_binders/fn.foo.html '//pre' "fn foo()where for<'a, T> &'a Wrapper<T>: Trait"
 | 
						|
pub fn foo() where for<'a, T> &'a Wrapper<T>: Trait {}
 |