blob: bf336b6be7ab6cffd8a34bfad4522950cbb148d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// aux-build:foreign-priv-aux.rs
// build-pass
#![crate_type = "lib"]
extern crate foreign_priv_aux;
use foreign_priv_aux::{ImplPrivTrait, PubTrait, Wrapper};
pub fn foo(x: Wrapper<ImplPrivTrait>) {
x.pub_fn();
}
|