Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
trait-bounds
/
maybe-bound-has-path-args.rs
blob: 14a266704977501b6ee289fb7bf8085fb471c818 [
file
] [
log
] [
blame
]
trait
Trait
{}
fn
test
<
T
:
?
self
::<
i32
>::
Trait
>()
{}
//~^ ERROR type arguments are not allowed on module `maybe_bound_has_path_args`
//~| ERROR bound modifier `?` can only be applied to `Sized`
fn
main
()
{}