rust/tests/ui/where-clauses/where-equality-constraints.rs
2023-01-11 09:32:08 +00:00

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