rust/tests/ui/unstable-feature-bound/auxiliary/unstable_impl_codegen_aux2.rs
2025-07-15 13:48:30 +00:00

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();
}