rust/tests/ui/where-clauses/where-equality-constraints.rs

7 lines
232 B
Rust

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() {}