mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
14 lines
320 B
Rust
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"));
|
|
}
|