https://gcc.gnu.org/g:e517374752c757e3b863568862d49f7a9c6c2669
commit r17-1072-ge517374752c757e3b863568862d49f7a9c6c2669 Author: fisnikhasani <[email protected]> Date: Thu Apr 2 15:27:11 2026 +0200 gccrs: Clean up of obsolete nr2 command line option Fixes: Rust-GCC/gccrs#4503 gcc/rust/ChangeLog: * lang.opt (flag_name_resolution_2_0): Remove. * resolve/rust-name-resolver.cc: Remove include. Signed-off-by: Fisnik Hasani <[email protected]> Diff: --- gcc/rust/lang.opt | 4 ---- gcc/rust/resolve/rust-name-resolver.cc | 3 --- 2 files changed, 7 deletions(-) diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt index aa8e9b1b42e3..2fe63fa70935 100644 --- a/gcc/rust/lang.opt +++ b/gcc/rust/lang.opt @@ -208,10 +208,6 @@ Enum(frust_compile_until) String(compilation) Value(12) EnumValue Enum(frust_compile_until) String(end) Value(13) -frust-name-resolution-2.0 -Rust Var(flag_name_resolution_2_0) Init(1) -Use the temporary and experimental name resolution pipeline instead of the stable one. - frust-borrowcheck Rust Var(flag_borrowcheck) Use the WIP borrow checker. diff --git a/gcc/rust/resolve/rust-name-resolver.cc b/gcc/rust/resolve/rust-name-resolver.cc index be134681e348..ab6fcb839ef9 100644 --- a/gcc/rust/resolve/rust-name-resolver.cc +++ b/gcc/rust/resolve/rust-name-resolver.cc @@ -19,9 +19,6 @@ #include "rust-name-resolver.h" #include "rust-ast-full.h" -// for flag_name_resolution_2_0 -#include "options.h" - namespace Rust { namespace Resolver {
