rust/src/test/ui/where-clauses/where-equality-constraints.rs

7 lines
228 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, {}
2017-01-18 08:41:57 -06:00
//~^ ERROR equality constraints are not yet supported in where clauses
fn main() {}