about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-02-21 14:12:02 -0700
committerMichael Howell <michael@notriddle.com>2023-02-22 08:40:47 -0700
commitbf9b9802b093dc62f504043173677b0067ff9613 (patch)
treec0623bbbdec07196382266ac2a8d788be9fdedfe
parent881280f1f8c965c388a71358d46f54269b1a90ec (diff)
downloadrust-bf9b9802b093dc62f504043173677b0067ff9613.tar.gz
rust-bf9b9802b093dc62f504043173677b0067ff9613.zip
clippy: update clippy to use new `TyCtxt::def_descr`
-rw-r--r--src/tools/clippy/tests/ui/missing_doc_impl.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/tests/ui/missing_doc_impl.stderr b/src/tools/clippy/tests/ui/missing_doc_impl.stderr
index f22fa19dbca..b410f56e167 100644
--- a/src/tools/clippy/tests/ui/missing_doc_impl.stderr
+++ b/src/tools/clippy/tests/ui/missing_doc_impl.stderr
@@ -51,13 +51,13 @@ LL | |     fn foo_with_impl(&self) {}
 LL | | }
    | |_^
 
-error: missing documentation for an associated function
+error: missing documentation for a method
   --> $DIR/missing_doc_impl.rs:44:5
    |
 LL |     fn foo(&self);
    |     ^^^^^^^^^^^^^^
 
-error: missing documentation for an associated function
+error: missing documentation for a method
   --> $DIR/missing_doc_impl.rs:45:5
    |
 LL |     fn foo_with_impl(&self) {}