diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/analysis/rust-type-resolution.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/rust/analysis/rust-type-resolution.cc b/gcc/rust/analysis/rust-type-resolution.cc index 64296d0..f79da50 100644 --- a/gcc/rust/analysis/rust-type-resolution.cc +++ b/gcc/rust/analysis/rust-type-resolution.cc @@ -43,12 +43,7 @@ TypeResolution::TypeResolution (AST::Crate &crate, TopLevelScan &toplevel) ADD_BUILTIN_TYPE ("bool", typeScope); } -TypeResolution::~TypeResolution () -{ - functionScope.Pop (); - typeScope.Pop (); - scope.Pop (); -} +TypeResolution::~TypeResolution () { functionScope.Pop (); } bool TypeResolution::Resolve (AST::Crate &crate, TopLevelScan &toplevel) |