about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/lib.rs
diff options
context:
space:
mode:
authoryukang <moorekang@gmail.com>2022-09-18 15:35:21 +0800
committeryukang <moorekang@gmail.com>2022-12-03 22:41:12 +0800
commitfb004e9a95793b7672d55b2984d65d4ac00a3cfc (patch)
tree033e66ea5bd1771498488df7520e37976531d7e3 /compiler/rustc_errors/src/lib.rs
parent28a53cdb4695b71cb9ee39959df88542056479cd (diff)
downloadrust-fb004e9a95793b7672d55b2984d65d4ac00a3cfc.tar.gz
rust-fb004e9a95793b7672d55b2984d65d4ac00a3cfc.zip
fix #101749, use . instead of :: when accessing a method of an object
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 f8747386c04..649165f5557 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) {}