about summary refs log tree commit diff
path: root/tests/ui/unstable-feature-bound/auxiliary/unstable_impl_codegen_aux2.rs
blob: 1b0e2b2eec3166fee221bff4456623ffcf4eab8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ 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();
}