]> git.lizzy.rs Git - rust.git/commitdiff
Revert the regex test change.
authorlaurent <laurent.mazare@gmail.com>
Fri, 1 Dec 2017 19:59:40 +0000 (19:59 +0000)
committerlaurent <laurent.mazare@gmail.com>
Fri, 1 Dec 2017 19:59:40 +0000 (19:59 +0000)
tests/ui/regex.stderr

index 1c244c1df127e57511d1d82794256726ce4e4301..9f1397990bbfbacec30229ffe968496ef89efaab 100644 (file)
@@ -112,7 +112,7 @@ error: trivial regex
 error: trivial regex
   --> $DIR/regex.rs:62:40
    |
-62 |     let trivial_backslash = Regex::new("a//.b");
+62 |     let trivial_backslash = Regex::new("a/.b");
    |                                        ^^^^^^^
    |
    = help: consider using consider using `str::contains`