- Add more well-known traits - Use the correct binders when lowering trait objects - Use correct substs when lowering trait objects - Use the correct binders for opaque_ty_data - Lower negative impls with the correct polarity - Supply associated type values - Use `predicates_defined_on` for where clauses
20 lines
235 B
Rust
20 lines
235 B
Rust
// check-pass
|
|
// compile-flags: -Z chalk
|
|
|
|
fn main() {
|
|
1 + 2;
|
|
3 * 6;
|
|
2 - 5;
|
|
17 / 6;
|
|
23 % 11;
|
|
4 & 6;
|
|
7 | 15;
|
|
4 << 7;
|
|
123 >> 3;
|
|
1 == 2;
|
|
5 != 5;
|
|
6 < 2;
|
|
7 > 11;
|
|
3 <= 1;
|
|
9 >= 14;
|
|
}
|