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

7 lines
232 B
Rust
Raw Normal View History

2017-01-18 08:41:57 -06:00
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
2017-01-18 08:41:57 -06:00
fn main() {}