summaryrefslogtreecommitdiffstats
path: root/tests/ui/where-clauses/where-clauses-cross-crate.rs
blob: 9edf0bd5b1d24abca46da64b0c1a31cb2459c9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// aux-build:where_clauses_xc.rs

extern crate where_clauses_xc;

use where_clauses_xc::{Equal, equal};

fn main() {
    println!("{}", equal(&1, &2));
    println!("{}", equal(&1, &1));
    println!("{}", "hello".equal(&"hello"));
    println!("{}", "hello".equals::<isize,&str>(&1, &1, &"foo", &"bar"));
}