Use StringPart
more.
This commit is contained in:
parent
0621cd46f2
commit
be64802854
3 changed files with 38 additions and 43 deletions
|
@ -34,7 +34,7 @@ extern crate self as rustc_errors;
|
|||
pub use codes::*;
|
||||
pub use diagnostic::{
|
||||
AddToDiagnostic, DecorateLint, Diagnostic, DiagnosticArg, DiagnosticArgName,
|
||||
DiagnosticArgValue, DiagnosticStyledString, IntoDiagnosticArg, SubDiagnostic,
|
||||
DiagnosticArgValue, DiagnosticStyledString, IntoDiagnosticArg, StringPart, SubDiagnostic,
|
||||
};
|
||||
pub use diagnostic_builder::{
|
||||
BugAbort, DiagnosticBuilder, EmissionGuarantee, FatalAbort, IntoDiagnostic,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue