about summary refs log tree commit diff
path: root/src/test/ui/or-patterns
diff options
context:
space:
mode:
authorMatthias Prechtl <m.sleepypanda@gmail.com>2020-02-07 13:07:02 +0100
committerMatthias Prechtl <m.sleepypanda@gmail.com>2020-02-09 20:43:49 +0100
commit7b555178aef4045685eb359204b565a4bb8d1a9f (patch)
tree1e70243305ad8c731063a496d312b43e022a942e /src/test/ui/or-patterns
parentf35a7c38da65c9a006c0c7dbd73685b552b3cbf9 (diff)
downloadrust-7b555178aef4045685eb359204b565a4bb8d1a9f.tar.gz
rust-7b555178aef4045685eb359204b565a4bb8d1a9f.zip
--bless --compare-mode=nll
Diffstat (limited to 'src/test/ui/or-patterns')
-rw-r--r--src/test/ui/or-patterns/feature-gate-const-fn.stderr12
-rw-r--r--src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr2
-rw-r--r--src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr2
-rw-r--r--src/test/ui/or-patterns/feature-gate-or_patterns.stderr38
4 files changed, 27 insertions, 27 deletions
diff --git a/src/test/ui/or-patterns/feature-gate-const-fn.stderr b/src/test/ui/or-patterns/feature-gate-const-fn.stderr
index 9284e2d442d..38233a944cf 100644
--- a/src/test/ui/or-patterns/feature-gate-const-fn.stderr
+++ b/src/test/ui/or-patterns/feature-gate-const-fn.stderr
@@ -4,7 +4,7 @@ error[E0658]: or-pattern is not allowed in a `const fn`
 LL | const fn foo((Ok(a) | Err(a)): Result<i32, i32>) {
    |               ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0658]: or-pattern is not allowed in a `const fn`
@@ -13,7 +13,7 @@ error[E0658]: or-pattern is not allowed in a `const fn`
 LL |     let Ok(y) | Err(y) = x;
    |         ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0658]: or-pattern is not allowed in a `const`
@@ -22,7 +22,7 @@ error[E0658]: or-pattern is not allowed in a `const`
 LL |     let Ok(y) | Err(y) = x;
    |         ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0658]: or-pattern is not allowed in a `static`
@@ -31,7 +31,7 @@ error[E0658]: or-pattern is not allowed in a `static`
 LL |     let Ok(y) | Err(y) = x;
    |         ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0658]: or-pattern is not allowed in a `static mut`
@@ -40,7 +40,7 @@ error[E0658]: or-pattern is not allowed in a `static mut`
 LL |     let Ok(y) | Err(y) = x;
    |         ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0658]: or-pattern is not allowed in a `const`
@@ -49,7 +49,7 @@ error[E0658]: or-pattern is not allowed in a `const`
 LL |         let Ok(y) | Err(y) = x;
    |             ^^^^^^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/49146
+   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
    = help: add `#![feature(const_if_match)]` to the crate attributes to enable
 
 error[E0019]: constant contains unimplemented expression type
diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr
index f520409e8ba..abcee435530 100644
--- a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr
+++ b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-for.stderr
@@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     for | A in 0 {}
    |         ^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error: aborting due to previous error
diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr
index 30fd6a1a95e..499f60dd545 100644
--- a/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr
+++ b/src/test/ui/or-patterns/feature-gate-or_patterns-leading-let.stderr
@@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let | A;
    |         ^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error: aborting due to previous error
diff --git a/src/test/ui/or-patterns/feature-gate-or_patterns.stderr b/src/test/ui/or-patterns/feature-gate-or_patterns.stderr
index aae6644dac2..a9e43a4575d 100644
--- a/src/test/ui/or-patterns/feature-gate-or_patterns.stderr
+++ b/src/test/ui/or-patterns/feature-gate-or_patterns.stderr
@@ -4,7 +4,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |         Some(0 | 1 | 2) => {}
    |              ^^^^^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -13,7 +13,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let | A | B;
    |           ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -22,7 +22,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let A | B;
    |         ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -31,7 +31,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     for | A | B in 0 {}
    |           ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -40,7 +40,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     for A | B in 0 {}
    |         ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -49,7 +49,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     fn fun((A | B): _) {}
    |             ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -58,7 +58,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let _ = |(A | B): u8| ();
    |               ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -67,7 +67,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let (A | B);
    |          ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -76,7 +76,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let (A | B,);
    |          ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -85,7 +85,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let A(B | C);
    |           ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -94,7 +94,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let E::V(B | C);
    |              ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -103,7 +103,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let S { f1: B | C, f2 };
    |                 ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -112,7 +112,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let E::V { f1: B | C, f2 };
    |                    ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -121,7 +121,7 @@ error[E0658]: or-patterns syntax is experimental
 LL |     let [A | B];
    |          ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -130,7 +130,7 @@ error[E0658]: or-patterns syntax is experimental
 LL | accept_pat!((p | q));
    |              ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -139,7 +139,7 @@ error[E0658]: or-patterns syntax is experimental
 LL | accept_pat!((p | q,));
    |              ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -148,7 +148,7 @@ error[E0658]: or-patterns syntax is experimental
 LL | accept_pat!(TS(p | q));
    |                ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -157,7 +157,7 @@ error[E0658]: or-patterns syntax is experimental
 LL | accept_pat!(NS { f: p | q });
    |                     ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error[E0658]: or-patterns syntax is experimental
@@ -166,7 +166,7 @@ error[E0658]: or-patterns syntax is experimental
 LL | accept_pat!([p | q]);
    |              ^^^^^
    |
-   = note: for more information, see https://github.com/rust-lang/rust/issues/54883
+   = note: see issue #54883 <https://github.com/rust-lang/rust/issues/54883> for more information
    = help: add `#![feature(or_patterns)]` to the crate attributes to enable
 
 error: aborting due to 19 previous errors