diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2020-04-27 17:40:49 -0300 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2020-04-27 15:45:00 -0500 |
| commit | 09fbca820499c5e1ab4093b4de39d94ada78ed5b (patch) | |
| tree | 9cb931ce2ebd7b52f4137626ece7facc5c4dbfb9 /src/doc | |
| parent | 1701ef03fc848f209ca8fd2f702ad8e5ffb39936 (diff) | |
| download | rust-09fbca820499c5e1ab4093b4de39d94ada78ed5b.tar.gz rust-09fbca820499c5e1ab4093b4de39d94ada78ed5b.zip | |
Fix sub-diagnostic typo
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/diagnostics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/diagnostics.md b/src/doc/rustc-dev-guide/src/diagnostics.md index 2212fc790db..b77e4547fe0 100644 --- a/src/doc/rustc-dev-guide/src/diagnostics.md +++ b/src/doc/rustc-dev-guide/src/diagnostics.md @@ -182,7 +182,7 @@ replace their current content. The message that accompanies them should be understandable in the following contexts: -- shown as an independent sug-diagnostic (this is the default output) +- shown as an independent sub-diagnostic (this is the default output) - shown as a label pointing at the affected span (this is done automatically if the some heuristics for verbosity are met) - shown as a `help` sub-diagnostic with no content (used for cases where the |
