about summary refs log tree commit diff
path: root/tests/ui/where-clauses/where-clauses-cross-crate.rs
blob: 713808520b5def175604ad00e9d5db2437af50ad (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"));
}