summary refs log tree commit diff
path: root/src/test/compile-fail/not-a-pred-2.rs
blob: 3bac354fb246a8b174553038a1db0e5f26a26205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// -*- rust -*-

// error-pattern: non-predicate

fn main() {
    check (1 ==
               2); // should fail to typecheck, as (a == b)
                   // is not a manifest call





}