diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-22706.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-22706.rs b/src/test/ui/issues/issue-22706.rs new file mode 100644 index 000000000..bb8a58d3d --- /dev/null +++ b/src/test/ui/issues/issue-22706.rs @@ -0,0 +1,3 @@ +fn is_copy<T: ::std::marker<i32>::Copy>() {} +//~^ ERROR type arguments are not allowed on module `marker` [E0109] +fn main() {} |