Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
privacy
/
issue-57264-2.rs
blob: 4d5c9cfa1d53430b42f1359ab5aaab48edbb83ed [
file
] [
log
] [
blame
]
// 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
();
}