diff options
| author | ljedrz <ljedrz@gmail.com> | 2018-12-04 12:46:10 +0100 |
|---|---|---|
| committer | ljedrz <ljedrz@gmail.com> | 2018-12-04 12:46:10 +0100 |
| commit | d0c64bb29631fc5e5fafbe88374e7e1325b70ba5 (patch) | |
| tree | ff7a7379405a9196475630fec7c0f268310935d7 /src/librustc_codegen_ssa | |
| parent | 91d5d56c00d8e2926ccf856f14a4e52ef480d039 (diff) | |
| download | rust-d0c64bb29631fc5e5fafbe88374e7e1325b70ba5.tar.gz rust-d0c64bb29631fc5e5fafbe88374e7e1325b70ba5.zip | |
cleanup: remove static lifetimes from consts
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/back/symbol_export.rs | 2 |
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 0fb2641a4f8..23b35b2e416 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", ]; |
