blob: 36ce5fd3b3e6ff86f91b24d7c710ce8cd2664c49 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// check-pass
// aux-build:issue-57264-2.rs
extern crate issue_57264_2;
fn infer<T: issue_57264_2::PubTraitWithSingleImplementor>(arg: T) -> T { arg }
fn main() {
infer(None).unwrap().pub_method();
}
|