Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/test/ui/or-patterns/macro-pat.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// run-pass
// edition:2021
// ignore-test
// FIXME(mark-i-m): enable this test again when 2021 machinery is available

use Foo::*;

#[allow(dead_code)]
#[derive(Eq, PartialEq, Debug)]
enum Foo {
A(u64),
Expand Down
2 changes: 0 additions & 2 deletions src/test/ui/or-patterns/or-patterns-syntactic-pass-2021.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Tests that :pat in macros in edition 2021 allows top-level or-patterns.

// run-pass
// ignore-test
// edition:2021
// FIXME(mark-i-m): unignore when 2021 machinery is in place.

macro_rules! accept_pat {
($p:pat) => {};
Expand Down