diff options
| author | Joshua Nelson <github@jyn.dev> | 2022-12-22 12:57:47 -0600 |
|---|---|---|
| committer | Joshua Nelson <github@jyn.dev> | 2022-12-22 13:12:15 -0600 |
| commit | e4330295d9bcb8ab302000eae60cd8b9a71f2d7a (patch) | |
| tree | 2354120da7c1dfd4d9e84bf969bfee42b4d6c125 /compiler/rustc_error_messages/src | |
| parent | 2d76a9df5d040e8dfcb23e01fc3847c628d833e4 (diff) | |
Give a more helpful error for "trimmed_def_paths construted"
Diffstat (limited to 'compiler/rustc_error_messages/src')
| -rw-r--r-- | compiler/rustc_error_messages/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_messages/src/lib.rs b/compiler/rustc_error_messages/src/lib.rs index 418ba3c74d7..0b351b7afc7 100644 --- a/compiler/rustc_error_messages/src/lib.rs +++ b/compiler/rustc_error_messages/src/lib.rs @@ -380,7 +380,7 @@ impl<S: Into<String>> From<S> for DiagnosticMessage { } } -/// A workaround for "good path" ICEs when formatting types in disables lints. +/// A workaround for "good path" ICEs when formatting types in disabled lints. /// /// Delays formatting until `.into(): DiagnosticMessage` is used. pub struct DelayDm<F>(pub F); |
