diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-06-28 22:57:01 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-06-28 23:12:32 +0500 |
| commit | 3d81af8c55cd422910c4560f6cdc03722f4530c7 (patch) | |
| tree | 9797ed5a4827f3b016111ad78675b02944893d37 /tests/ui/mod-subitem-as-enum-variant.rs | |
| parent | 7ba34c704529e7fcab80130c3fe40efe415d61b5 (diff) | |
| download | rust-3d81af8c55cd422910c4560f6cdc03722f4530c7.tar.gz rust-3d81af8c55cd422910c4560f6cdc03722f4530c7.zip | |
moved tests
Diffstat (limited to 'tests/ui/mod-subitem-as-enum-variant.rs')
| -rw-r--r-- | tests/ui/mod-subitem-as-enum-variant.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/mod-subitem-as-enum-variant.rs b/tests/ui/mod-subitem-as-enum-variant.rs deleted file mode 100644 index 959024c46f4..00000000000 --- a/tests/ui/mod-subitem-as-enum-variant.rs +++ /dev/null @@ -1,9 +0,0 @@ -mod Mod { - pub struct FakeVariant<T>(pub T); -} - -fn main() { - Mod::FakeVariant::<i32>(0); - Mod::<i32>::FakeVariant(0); - //~^ ERROR type arguments are not allowed on module `Mod` [E0109] -} |
