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: use of a disallowed method `slice::sort_unstable`
24 --> $DIR/conf_disallowed_methods.rs:13:5
26 LL | a.sort_unstable();
29 error: use of a disallowed method `f32::clamp`
30 --> $DIR/conf_disallowed_methods.rs:15:13
32 LL | let _ = 2.0f32.clamp(3.0f32, 4.0f32);
33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35 error: aborting due to 5 previous errors