Box large enum variants
This commit is contained in:
parent
54e1309c65
commit
f00366d191
3 changed files with 9 additions and 9 deletions
|
@ -2051,13 +2051,13 @@ pub type FileLinesResult = Result<FileLines, SpanLinesError>;
|
|||
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
pub enum SpanLinesError {
|
||||
DistinctSources(DistinctSources),
|
||||
DistinctSources(Box<DistinctSources>),
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
pub enum SpanSnippetError {
|
||||
IllFormedSpan(Span),
|
||||
DistinctSources(DistinctSources),
|
||||
DistinctSources(Box<DistinctSources>),
|
||||
MalformedForSourcemap(MalformedSourceMapPositions),
|
||||
SourceNotAvailable { filename: FileName },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue