diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2018-02-14 16:11:02 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2018-03-05 11:05:01 +0100 |
| commit | 542bc75deaaf4e84dcd7a196685bc1a1cb100d32 (patch) | |
| tree | af895d8de41f2569ac3235ab8b244e2853dfe54c /src/librustc_trans_utils | |
| parent | e2746d870017c869b84fc56ecd63f5e4f9646c96 (diff) | |
| download | rust-542bc75deaaf4e84dcd7a196685bc1a1cb100d32.tar.gz rust-542bc75deaaf4e84dcd7a196685bc1a1cb100d32.zip | |
Turn features() into a query.
Diffstat (limited to 'src/librustc_trans_utils')
| -rw-r--r-- | src/librustc_trans_utils/symbol_names_test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_trans_utils/symbol_names_test.rs b/src/librustc_trans_utils/symbol_names_test.rs index 5d7d4f3055b..267c8d2bd03 100644 --- a/src/librustc_trans_utils/symbol_names_test.rs +++ b/src/librustc_trans_utils/symbol_names_test.rs @@ -28,7 +28,7 @@ pub fn report_symbol_names<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) { // if the `rustc_attrs` feature is not enabled, then the // attributes we are interested in cannot be present anyway, so // skip the walk. - if !tcx.sess.features.borrow().rustc_attrs { + if !tcx.features().rustc_attrs { return; } |
