mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 11:07:42 +00:00
clippy: update clippy to use new TyCtxt::def_descr
This commit is contained in:
parent
71b8646854
commit
d254516be1
@ -51,13 +51,13 @@ LL | | fn foo_with_impl(&self) {}
|
|||||||
LL | | }
|
LL | | }
|
||||||
| |_^
|
| |_^
|
||||||
|
|
||||||
error: missing documentation for an associated function
|
error: missing documentation for a method
|
||||||
--> $DIR/missing_doc_impl.rs:44:5
|
--> $DIR/missing_doc_impl.rs:44:5
|
||||||
|
|
|
|
||||||
LL | fn foo(&self);
|
LL | fn foo(&self);
|
||||||
| ^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error: missing documentation for an associated function
|
error: missing documentation for a method
|
||||||
--> $DIR/missing_doc_impl.rs:45:5
|
--> $DIR/missing_doc_impl.rs:45:5
|
||||||
|
|
|
|
||||||
LL | fn foo_with_impl(&self) {}
|
LL | fn foo_with_impl(&self) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user