rust/tests/ui/where-clauses/where-clauses-cross-crate.rs
2023-01-11 09:32:08 +00:00

14 lines
320 B
Rust

// 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"));
}