about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-04 16:25:32 +0100
committerGitHub <noreply@github.com>2022-12-04 16:25:32 +0100
commit7dbd1603b873527cbce2ac3f289f271b138cfc68 (patch)
tree84f9e154c558bba0a269c2e341ae1b0aa609479b /compiler/rustc_errors/src/lib.rs
parent344889e963742e87181d3c023e2a1ea7d95f9468 (diff)
parentfb004e9a95793b7672d55b2984d65d4ac00a3cfc (diff)
downloadrust-7dbd1603b873527cbce2ac3f289f271b138cfc68.tar.gz
rust-7dbd1603b873527cbce2ac3f289f271b138cfc68.zip
Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors
Suggest to use . instead of :: when accessing a method of an object

Fixes #101749
Fixes #101542
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
-rw-r--r--compiler/rustc_errors/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 6176120b301..eb0506c459a 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -470,6 +470,7 @@ pub enum StashKey {
     /// Maybe there was a typo where a comma was forgotten before
     /// FRU syntax
     MaybeFruTypo,
+    CallAssocMethod,
 }
 
 fn default_track_diagnostic(_: &Diagnostic) {}