From bfdbf7bf6545236fa1077e3eea03a4f599c4cb8e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Fri, 11 Mar 2022 15:32:09 -0500 Subject: [PATCH] remove unused type ignore that mypy 0.940 no longer needs And now that it doesn't need it, it errors out when you use it. --- mesonbuild/compilers/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/detect.py b/mesonbuild/compilers/detect.py index 6a595e112..c48b62c03 100644 --- a/mesonbuild/compilers/detect.py +++ b/mesonbuild/compilers/detect.py @@ -1055,7 +1055,7 @@ def detect_rust_compiler(env: 'Environment', for_machine: MachineChoice) -> Rust else: linker = type(cc.linker)(compiler, for_machine, cc.LINKER_PREFIX, always_args=always_args, version=cc.linker.version, - **extra_args) # type: ignore + **extra_args) elif 'link' in override[0]: linker = guess_win_linker(env, override, cls, for_machine, use_linker_prefix=False)