mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 19:43:20 +00:00
23 lines
603 B
Text
23 lines
603 B
Text
|
error: Use of a disallowed method `disallowed_method::Baz::bad_method`
|
||
|
--> $DIR/disallowed_method.rs:48:5
|
||
|
|
|
||
|
LL | b.bad_method();
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `-D clippy::disallowed-method` implied by `-D warnings`
|
||
|
|
||
|
error: Use of a disallowed method `disallowed_method::Baz::bad_method`
|
||
|
--> $DIR/disallowed_method.rs:49:5
|
||
|
|
|
||
|
LL | c.bad_method();
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
||
|
error: Use of a disallowed method `disallowed_method::Foo::bad_method`
|
||
|
--> $DIR/disallowed_method.rs:50:5
|
||
|
|
|
||
|
LL | f.bad_method();
|
||
|
| ^^^^^^^^^^^^^^
|
||
|
|
||
|
error: aborting due to 3 previous errors
|
||
|
|