Remove variable that no longer exists

This commit is contained in:
ayazhafiz 2021-11-24 01:30:38 -05:00
parent fe85af8d03
commit 31d4536449

View file

@ -1361,8 +1361,7 @@ impl ErrorType {
ret.add_names(taken);
}
Alias(_, ts, t) => {
ts.iter().for_each(|(a, t)| {
taken.insert(a.clone());
ts.iter().for_each(|t| {
t.add_names(taken);
});
t.add_names(taken);