clippy: update clippy to use new TyCtxt::def_descr

This commit is contained in:
Michael Howell 2023-02-21 14:12:02 -07:00
parent 71b8646854
commit d254516be1

View file

@ -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) {}