mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-05 07:26:48 +00:00
14 lines
285 B
Rust
14 lines
285 B
Rust
//@ aux-build:unstable_impl_codegen_aux1.rs
|
|
#![feature(foo)]
|
|
|
|
extern crate unstable_impl_codegen_aux1 as aux;
|
|
use aux::Trait;
|
|
|
|
/// Upstream crate for unstable impl codegen test
|
|
/// that depends on aux crate in
|
|
/// unstable_impl_codegen_aux1.rs
|
|
|
|
pub fn foo<T>(a: T) {
|
|
a.method();
|
|
}
|