rust/tests/codegen/remap_path_prefix/auxiliary/xcrate-generic.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
216 B
Rust
Raw Normal View History

//
// compile-flags: -g --remap-path-prefix={{cwd}}=/the/aux-cwd --remap-path-prefix={{src-base}}/remap_path_prefix/auxiliary=/the/aux-src
#![crate_type = "lib"]
pub fn foo<T: Default>() -> T {
T::default()
}