2023-02-21 22:43:15 -06:00
|
|
|
#![feature(non_lifetime_binders)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
pub trait Trait {}
|
|
|
|
|
|
|
|
pub struct Wrapper<T: ?Sized>(Box<T>);
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has non_lifetime_binders/fn.foo.html '//pre' "fn foo()where for<'a, T> &'a Wrapper<T>: Trait"
|
2023-02-21 22:43:15 -06:00
|
|
|
pub fn foo() where for<'a, T> &'a Wrapper<T>: Trait {}
|