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
This commit is contained in:
Matthias Krüger
2022-12-04 16:25:32 +01:00
committed by GitHub
15 changed files with 218 additions and 66 deletions

View File

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