diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-17 19:11:55 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-17 19:11:55 +0530 |
| commit | 291ced5e9a9cfb423793cf065f873d2171c19c6a (patch) | |
| tree | d0eccf41d4ebd63b5fdb950e47bd7d67e8f0e95d /compiler/rustc_errors/src/lib.rs | |
| parent | 703323e490a6260ab2dd3fdfb6d5db0dde0dc383 (diff) | |
| parent | db645124221a1e2d3e70b14fbedef019e036c066 (diff) | |
| download | rust-291ced5e9a9cfb423793cf065f873d2171c19c6a.tar.gz rust-291ced5e9a9cfb423793cf065f873d2171c19c6a.zip | |
Rollup merge of #111588 - MU001999:diag/improve-e0782, r=fee1-dead
Emits E0599 when meeting `MyTrait::missing_method` Fixes #111312
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 22c41f7b93f..0f360473619 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -478,6 +478,7 @@ pub enum StashKey { /// FRU syntax MaybeFruTypo, CallAssocMethod, + TraitMissingMethod, } fn default_track_diagnostic(d: &mut Diagnostic, f: &mut dyn FnMut(&mut Diagnostic)) { |
