]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/regex.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / regex.rs
index 56539c5468fc39141455bddaa634c8a3931cd500..2007f1fad552e7c60fb1345b5e1b424e7024e5c7 100644 (file)
@@ -1,5 +1,5 @@
-#![feature(plugin)]
-#![plugin(clippy)]
+
+
 
 #![allow(unused)]
 #![warn(invalid_regex, trivial_regex, regex_macro)]
@@ -9,8 +9,8 @@ extern crate regex;
 use regex::{Regex, RegexSet, RegexBuilder};
 use regex::bytes::{Regex as BRegex, RegexSet as BRegexSet, RegexBuilder as BRegexBuilder};
 
-const OPENING_PAREN : &'static str = "(";
-const NOT_A_REAL_REGEX : &'static str = "foobar";
+const OPENING_PAREN: &str = "(";
+const NOT_A_REAL_REGEX: &str = "foobar";
 
 fn syntax_error() {
     let pipe_in_wrong_position = Regex::new("|");