diff --git a/compiler/passes/src/common/constant_propagation_table/mod.rs b/compiler/passes/src/common/constant_propagation_table/mod.rs index 8abb8bfcb2..58f1f1da9a 100644 --- a/compiler/passes/src/common/constant_propagation_table/mod.rs +++ b/compiler/passes/src/common/constant_propagation_table/mod.rs @@ -15,10 +15,7 @@ // along with the Leo library. If not, see . use indexmap::IndexMap; -use std::{ - cell::RefCell, - fmt::{Debug, Display}, -}; +use std::cell::RefCell; use leo_ast::Literal; use leo_errors::Result; diff --git a/tests/expectations/compiler/mappings/shadowed_mapping_fail.out b/tests/expectations/compiler/mappings/shadowed_mapping_fail.out index c111a0cbb9..5d455ec638 100644 --- a/tests/expectations/compiler/mappings/shadowed_mapping_fail.out +++ b/tests/expectations/compiler/mappings/shadowed_mapping_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EPAR0370034]: global definition of `one` shadows previous definition of `one`\n --> compiler-test:6:5\n |\n 6 | mapping one: field => field;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^" + - "Error [EAST0372009]: variable `one` shadowed by\n --> compiler-test:8:5\n |\n 8 | transition one() -> u8 {\n 9 | return 1u8 + 1u8;\n 10 | }\n | ^\n"