about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-12-06 07:48:57 +0100
committerGitHub <noreply@github.com>2018-12-06 07:48:57 +0100
commite941e1a62400f5f716aa28e06460d0bc0736d8c9 (patch)
tree4af0a2634efe1298e72e91c96a18a9c5da9e9160 /src/librustc_codegen_ssa
parent50148a95668c3587a544ab08dda8abb270a59f54 (diff)
parentd0c64bb29631fc5e5fafbe88374e7e1325b70ba5 (diff)
downloadrust-e941e1a62400f5f716aa28e06460d0bc0736d8c9.tar.gz
rust-e941e1a62400f5f716aa28e06460d0bc0736d8c9.zip
Rollup merge of #56500 - ljedrz:cleanup_rest_of_const_lifetimes, r=zackmdavis
cleanup: remove static lifetimes from consts

A follow-up to https://github.com/rust-lang/rust/pull/56497.
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/back/symbol_export.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/back/symbol_export.rs b/src/librustc_codegen_ssa/back/symbol_export.rs
index d25917e51bf..ecae6197dc7 100644
--- a/src/librustc_codegen_ssa/back/symbol_export.rs
+++ b/src/librustc_codegen_ssa/back/symbol_export.rs
@@ -225,7 +225,7 @@ fn exported_symbols_provider_local<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
         // These are weak symbols that point to the profile version and the
         // profile name, which need to be treated as exported so LTO doesn't nix
         // them.
-        const PROFILER_WEAK_SYMBOLS: [&'static str; 2] = [
+        const PROFILER_WEAK_SYMBOLS: [&str; 2] = [
             "__llvm_profile_raw_version",
             "__llvm_profile_filename",
         ];