From: fisnikhasani <[email protected]>
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]>
---
This change was merged into the gccrs repository and is posted here for
upstream visibility and potential drive-by review, as requested by GCC
release managers.
Each commit email contains a link to its details on github from where you can
find the Pull-Request and associated discussions.
Commit on github:
https://github.com/Rust-GCC/gccrs/commit/3432069729f6868c92de792e09d0c803dcc1618e
The commit is not linked to any pull-request
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 aa8e9b1b4..2fe63fa70 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 be134681e..ab6fcb839 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 {
base-commit: 2f8b36214b8920dc2f9a6be6fdad951a39ef1e32
--
2.53.0