Remove redundant test.
This commit is contained in:
parent
7ff69b49df
commit
0d59b8c997
@ -622,8 +622,7 @@ impl Map {
|
||||
ty: Ty<'tcx>,
|
||||
filter: &mut impl FnMut(Ty<'tcx>) -> bool,
|
||||
) {
|
||||
// Note: The framework supports only scalars for now.
|
||||
if filter(ty) && ty.is_scalar() {
|
||||
if filter(ty) {
|
||||
// We know that the projection only contains trackable elements.
|
||||
let place = self.make_place(local, projection).unwrap();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user