Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 244 Bytes
// build-pass (FIXME(62277): could be 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();
}
You can’t perform that action at this time.