mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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"));
|
|
}
|