Remove unused DiagnosticBuilder::sub function
`Diagnostic::sub` is only ever used directly; it doesn't need to be included in the builder.
This commit is contained in:
@@ -582,6 +582,8 @@ impl Diagnostic {
|
||||
|
||||
/// Convenience function for internal use, clients should use one of the
|
||||
/// public methods above.
|
||||
///
|
||||
/// Used by `proc_macro_server` for implementing `server::Diagnostic`.
|
||||
pub fn sub(
|
||||
&mut self,
|
||||
level: Level,
|
||||
|
||||
Reference in New Issue
Block a user