error[E0109]: type arguments are not allowed on module `marker` --> $DIR/issue-22706.rs:1:29 | LL | fn is_copy::Copy>() {} | ------ ^^^ type argument not allowed | | | not allowed on module `marker` error: aborting due to previous error For more information about this error, try `rustc --explain E0109`.