Sign in
◑
Theme
rust
/
rust
/
c200d2fa5625ea8ddcd1e68ca65a6eaaf4b6cbfd
/
.
/
tests
/
ui
/
generics
/
type-args-on-module-in-bound.rs
blob: 96ca37407cfcb26122ce02baf8bf03fe0a1a3090 [
file
]
//! regression test for <https://github.com/rust-lang/rust/issues/22706>
fn
is_copy
<
T
:
::
std
::
marker
<
i32
>::
Copy
>()
{}
//~^ ERROR type arguments are not allowed on module `marker` [E0109]
fn
main
()
{}