about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2020-03-05 11:33:05 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2020-03-05 16:38:24 +0100
commitc2bbe3349f3c93d63d6408d4df1d190c7890f512 (patch)
treecd99e65cc0e4ea1a2afe61ccdd94acfca0cf2fdd /src/libtest
parentedd3e175d6206946b862f1222c5cc3386b0be873 (diff)
Const items have by default a static lifetime, there's no need to annotate it. (clippy::redundant_static_lifetimes)
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index b42e41cbfe6..6bd3399cd17 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -96,7 +96,7 @@ use time::TestExecTime;
 // Process exit code to be used to indicate test failures.
 const ERROR_EXIT_CODE: i32 = 101;
 
-const SECONDARY_TEST_INVOKER_VAR: &'static str = "__RUST_TEST_INVOKE";
+const SECONDARY_TEST_INVOKER_VAR: &str = "__RUST_TEST_INVOKE";
 
 // The default console test runner. It accepts the command line
 // arguments and a vector of test_descs.