1 // Test behavior of `?` macro _separator_ under the 2015 edition. Namely, `?` can be used as a
2 // separator, but you get a migration warning for the edition.
7 #![warn(rust_2018_compatibility)]
10 ($(a)?*) => {} //~WARN using `?` as a separator
11 //~^WARN this was previously accepted
15 ($(a)?+) => {} //~WARN using `?` as a separator
16 //~^WARN this was previously accepted