diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-11-04 01:16:16 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2022-11-04 01:17:03 -0400 |
| commit | 540c3f94d71879f413a151bc8c83c20c10b386dc (patch) | |
| tree | 8cec8329bb002dc69b0f3420586ab72930c20f50 /compiler/rustc_errors/src/diagnostic_impls.rs | |
| parent | 28491a7b36a717e42081fc6ee788433feccb72e6 (diff) | |
| download | rust-540c3f94d71879f413a151bc8c83c20c10b386dc.tar.gz rust-540c3f94d71879f413a151bc8c83c20c10b386dc.zip | |
UPDATE - accept dyn error and make Box<dyn error> conform to IntoDiagnosticArg
Diffstat (limited to 'compiler/rustc_errors/src/diagnostic_impls.rs')
| -rw-r--r-- | compiler/rustc_errors/src/diagnostic_impls.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/diagnostic_impls.rs b/compiler/rustc_errors/src/diagnostic_impls.rs index 4f32e236b2d..83a3211c63b 100644 --- a/compiler/rustc_errors/src/diagnostic_impls.rs +++ b/compiler/rustc_errors/src/diagnostic_impls.rs @@ -59,6 +59,7 @@ into_diagnostic_arg_using_display!( i128, u128, std::io::Error, + std::boxed::Box<dyn std::error::Error>, std::num::NonZeroU32, hir::Target, Edition, |
