summaryrefslogtreecommitdiffstats
path: root/tests/ui/where-clauses/where-equality-constraints.rs
blob: 8828f09d92d333d548a320d148ca66140dce8f51 (plain)
1
2
3
4
5
6
fn f() where u8 = u16 {}
//~^ ERROR equality constraints are not yet supported in `where` clauses
fn g() where for<'a> &'static (u8,) == u16, {}
//~^ ERROR equality constraints are not yet supported in `where` clauses

fn main() {}