Remove unnecessary import

This commit is contained in:
Ayaz Hafiz 2022-07-03 15:15:50 -04:00
parent 2726a3506f
commit ba1a3fa62e
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -2,7 +2,7 @@
use crate::layout::{ use crate::layout::{
Builtin, CapturesNiche, ClosureRepresentation, LambdaName, LambdaSet, Layout, LayoutCache, Builtin, CapturesNiche, ClosureRepresentation, LambdaName, LambdaSet, Layout, LayoutCache,
LayoutProblem, RawFunctionLayout, TagIdIntType, TagOrClosure, UnionLayout, WrappedVariant, LayoutProblem, RawFunctionLayout, TagIdIntType, UnionLayout, WrappedVariant,
}; };
use bumpalo::collections::{CollectIn, Vec}; use bumpalo::collections::{CollectIn, Vec};
use bumpalo::Bump; use bumpalo::Bump;
@ -5505,7 +5505,7 @@ fn convert_tag_union<'a>(
tag_name: wrapped_tag_name, tag_name: wrapped_tag_name,
.. ..
} => { } => {
debug_assert_eq!(TagOrClosure::Tag(tag_name.clone()), wrapped_tag_name); debug_assert_eq!(wrapped_tag_name.expect_tag(), tag_name);
field_symbols = { field_symbols = {
let mut temp = Vec::with_capacity_in(field_symbols_temp.len(), arena); let mut temp = Vec::with_capacity_in(field_symbols_temp.len(), arena);