1 error: use of a disallowed method `regex::Regex::new`
2 --> $DIR/conf_disallowed_methods.rs:7:14
4 LL | let re = Regex::new(r"ab.*c").unwrap();
7 = note: `-D clippy::disallowed-methods` implied by `-D warnings`
9 error: use of a disallowed method `regex::Regex::is_match`
10 --> $DIR/conf_disallowed_methods.rs:8:5
12 LL | re.is_match("abc");
15 = note: no matching allowed (from clippy.toml)
17 error: use of a disallowed method `std::iter::Iterator::sum`
18 --> $DIR/conf_disallowed_methods.rs:11:5
20 LL | a.iter().sum::<i32>();
21 | ^^^^^^^^^^^^^^^^^^^^^
23 error: aborting due to 3 previous errors