diff options
Diffstat (limited to 'src/test/ui/parser/assoc-const-underscore-syntactic-pass.rs')
-rw-r--r-- | src/test/ui/parser/assoc-const-underscore-syntactic-pass.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/parser/assoc-const-underscore-syntactic-pass.rs b/src/test/ui/parser/assoc-const-underscore-syntactic-pass.rs deleted file mode 100644 index 60da408c8..000000000 --- a/src/test/ui/parser/assoc-const-underscore-syntactic-pass.rs +++ /dev/null @@ -1,18 +0,0 @@ -// All constant items (associated or otherwise) may syntactically use `_` as a name. - -// check-pass - -fn main() {} - -#[cfg(FALSE)] -const _: () = { - pub trait A { - const _: () = (); - } - impl A for () { - const _: () = (); - } - impl dyn A { - const _: () = (); - } -}; |