mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-27 18:56:24 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
12 lines
182 B
Rust
12 lines
182 B
Rust
//@ run-pass
|
|
//@ aux-build:static_fn_trait_xc_aux.rs
|
|
|
|
|
|
extern crate static_fn_trait_xc_aux as mycore;
|
|
|
|
use mycore::num;
|
|
|
|
pub fn main() {
|
|
let _1: f64 = num::Num2::from_int2(1);
|
|
}
|