diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2017-03-24 17:31:41 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2017-04-25 11:04:34 +0200 |
| commit | 0e920fde4f686e2924ea3378ac55d26217b53eaf (patch) | |
| tree | e4c2e9500fae8182d65de89f7c79c754c013e8e1 /src/librustc_errors/lib.rs | |
| parent | 0777c757a6832dc5f8f218377f99960f5477311f (diff) | |
| download | rust-0e920fde4f686e2924ea3378ac55d26217b53eaf.tar.gz rust-0e920fde4f686e2924ea3378ac55d26217b53eaf.zip | |
Minimize single span suggestions into a note
Diffstat (limited to 'src/librustc_errors/lib.rs')
| -rw-r--r-- | src/librustc_errors/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index da29e354a70..15e73fa4e76 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -67,6 +67,7 @@ pub enum RenderSpan { pub struct CodeSuggestion { pub msp: MultiSpan, pub substitutes: Vec<String>, + pub msg: String, } pub trait CodeMapper { |
