diff options
| author | Jeremy Stucki <jeremy@myelin.ch> | 2019-06-21 20:27:44 +0200 |
|---|---|---|
| committer | Jeremy Stucki <stucki.jeremy@gmail.com> | 2019-07-03 10:01:02 +0200 |
| commit | ec711767a7ac6911faae85d4b9285d07d5ebf949 (patch) | |
| tree | 0eef0150e8781741914dd5f0821d810f602160cc /src/librustc_codegen_utils | |
| parent | d50a3a7b8696975a2a1116f8c4eb4673271ae968 (diff) | |
| download | rust-ec711767a7ac6911faae85d4b9285d07d5ebf949.tar.gz rust-ec711767a7ac6911faae85d4b9285d07d5ebf949.zip | |
Remove needless lifetimes
Diffstat (limited to 'src/librustc_codegen_utils')
| -rw-r--r-- | src/librustc_codegen_utils/symbol_names_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_utils/symbol_names_test.rs b/src/librustc_codegen_utils/symbol_names_test.rs index f48d1f2853c..7ab29c5c4c3 100644 --- a/src/librustc_codegen_utils/symbol_names_test.rs +++ b/src/librustc_codegen_utils/symbol_names_test.rs @@ -11,7 +11,7 @@ use syntax::symbol::{Symbol, sym}; const SYMBOL_NAME: Symbol = sym::rustc_symbol_name; const DEF_PATH: Symbol = sym::rustc_def_path; -pub fn report_symbol_names<'tcx>(tcx: TyCtxt<'tcx>) { +pub fn report_symbol_names(tcx: TyCtxt<'_>) { // if the `rustc_attrs` feature is not enabled, then the // attributes we are interested in cannot be present anyway, so // skip the walk. |
