diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-18 11:47:31 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-09-21 11:39:53 -0400 |
| commit | 5f91719f75a1012f4b59391fd89a20bb989b2801 (patch) | |
| tree | 22886e03d601a14d82f4f0c65d8c673afdc35700 /compiler/rustc_middle/src/error.rs | |
| parent | a3396b207093c01065b63b0c58f1e6654629166d (diff) | |
| download | rust-5f91719f75a1012f4b59391fd89a20bb989b2801.tar.gz rust-5f91719f75a1012f4b59391fd89a20bb989b2801.zip | |
UPDATE - rename SessionSubdiagnostic macro to Subdiagnostic
Also renames: - sym::AddSubdiagnostic to sym:: Subdiagnostic - rustc_diagnostic_item = "AddSubdiagnostic" to rustc_diagnostic_item = "Subdiagnostic"
Diffstat (limited to 'compiler/rustc_middle/src/error.rs')
| -rw-r--r-- | compiler/rustc_middle/src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/error.rs b/compiler/rustc_middle/src/error.rs index 6d15feb888a..a4ceb494569 100644 --- a/compiler/rustc_middle/src/error.rs +++ b/compiler/rustc_middle/src/error.rs @@ -25,7 +25,7 @@ pub struct OpaqueHiddenTypeMismatch<'tcx> { pub sub: TypeMismatchReason, } -#[derive(SessionSubdiagnostic)] +#[derive(Subdiagnostic)] pub enum TypeMismatchReason { #[label(middle::conflict_types)] ConflictType { |
