]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/macro-at-most-once-rep-2015-ques-sep.stderr
Support ? Kleene operator in 2015.
[rust.git] / src / test / ui / macros / macro-at-most-once-rep-2015-ques-sep.stderr
index db1872c24134ae51049705ad7b5793ea6a362056..bf1861ae54052691e92b4aa747c791b10c42d032 100644 (file)
@@ -1,11 +1,11 @@
 warning: using `?` as a separator is deprecated and will be a hard error in an upcoming edition
-  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:20:10
+  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:10:10
    |
-LL |     ($(a)?*) => {} //~WARN using `?` as a separator
+LL |     ($(a)?*) => {}
    |          ^
    |
 note: lint level defined here
-  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:17:9
+  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:7:9
    |
 LL | #![warn(rust_2018_compatibility)]
    |         ^^^^^^^^^^^^^^^^^^^^^^^
@@ -14,9 +14,9 @@ LL | #![warn(rust_2018_compatibility)]
    = note: for more information, see issue #48075 <https://github.com/rust-lang/rust/issues/48075>
 
 warning: using `?` as a separator is deprecated and will be a hard error in an upcoming edition
-  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:25:10
+  --> $DIR/macro-at-most-once-rep-2015-ques-sep.rs:15:10
    |
-LL |     ($(a)?+) => {} //~WARN using `?` as a separator
+LL |     ($(a)?+) => {}
    |          ^
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!