rust/src/test/ui/where-clauses/where-equality-constraints.rs
2018-12-25 21:08:33 -07:00

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