]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui-toml/toml_disallowed_method/conf_disallowed_method.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / tools / clippy / tests / ui-toml / toml_disallowed_method / conf_disallowed_method.stderr
CommitLineData
f20569fa
XL
1error: use of a disallowed method `regex::re_unicode::Regex::new`
2 --> $DIR/conf_disallowed_method.rs:7:14
3 |
4LL | let re = Regex::new(r"ab.*c").unwrap();
5 | ^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `-D clippy::disallowed-method` implied by `-D warnings`
8
9error: use of a disallowed method `regex::re_unicode::Regex::is_match`
10 --> $DIR/conf_disallowed_method.rs:8:5
11 |
12LL | re.is_match("abc");
13 | ^^^^^^^^^^^^^^^^^^
14
15error: use of a disallowed method `core::iter::traits::iterator::Iterator::sum`
16 --> $DIR/conf_disallowed_method.rs:11:5
17 |
18LL | a.iter().sum::<i32>();
19 | ^^^^^^^^^^^^^^^^^^^^^
20
21error: aborting due to 3 previous errors
22