blob: 96a7424f0dc9cd15b6ef4fc64435acd07d1a4613 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![feature(non_lifetime_binders)]
//~^ WARN the feature `non_lifetime_binders` is incomplete
fn auto_trait()
where
for<T> T: PartialEq + PartialOrd,
{}
fn main() {
auto_trait();
//~^ ERROR can't compare `T` with `T`
}
|