From 6f84a6f15be9feff42abdd4294fecd1b1c878475 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Wed, 6 Nov 2019 14:23:45 +0100 Subject: [PATCH] test(runtime-core) Remove a warning in tests. --- lib/runtime-core-tests/tests/imports.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/runtime-core-tests/tests/imports.rs b/lib/runtime-core-tests/tests/imports.rs index cbdc5a38973..6b7223c6735 100644 --- a/lib/runtime-core-tests/tests/imports.rs +++ b/lib/runtime-core-tests/tests/imports.rs @@ -63,6 +63,7 @@ const SHIFT: i32 = 10; /// The shift that is captured in the environment of a closure. The /// value is part of the result returned by the imported function if /// the closure captures its environment properly. +#[allow(non_upper_case_globals)] const shift: i32 = 100; fn imported_functions_forms(test: &dyn Fn(&Instance)) {