Remove unnecessary reference

This commit is contained in:
ayazhafiz 2022-03-06 22:19:45 -05:00
parent 47e4904075
commit 01255a17d5

View File

@ -682,7 +682,7 @@ fn can_extension_type<'a>(
local_aliases,
references,
);
if valid_extension_type(&ext_type.shallow_dealias()) {
if valid_extension_type(ext_type.shallow_dealias()) {
ext_type
} else {
// Report an error but mark the extension variable to be inferred