about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-10 08:55:53 +0000
committerbors <bors@rust-lang.org>2022-01-10 08:55:53 +0000
commitdf035a33b228daa700ac50712d9e16509d373e41 (patch)
treee98f02a220de459f6b5da0d52985cef02f624af7 /compiler/rustc_errors/src
parentd63a8d965e76f29a2b65c1f22a32613df1fe5c2c (diff)
parent3a77bb86ff33bd4633aa831f2580aa3792a9c279 (diff)
downloadrust-df035a33b228daa700ac50712d9e16509d373e41.tar.gz
rust-df035a33b228daa700ac50712d9e16509d373e41.zip
Auto merge of #87487 - lambinoo:I-64762_unreachable_pub_lint, r=petrochenkov
Fixes wrong unreachable_pub lints on nested and glob public reexport

Linked issues: #64762 & #82064
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/snippet.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_errors/src/snippet.rs b/compiler/rustc_errors/src/snippet.rs
index 64353461e90..e4cc44c41dd 100644
--- a/compiler/rustc_errors/src/snippet.rs
+++ b/compiler/rustc_errors/src/snippet.rs
@@ -69,9 +69,6 @@ pub enum AnnotationType {
     /// Annotation under a single line of code
     Singleline,
 
-    /// Annotation enclosing the first and last character of a multiline span
-    Multiline(MultilineAnnotation),
-
     // The Multiline type above is replaced with the following three in order
     // to reuse the current label drawing code.
     //