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_plugin | |
| parent | e2746d870017c869b84fc56ecd63f5e4f9646c96 (diff) | |
| download | rust-542bc75deaaf4e84dcd7a196685bc1a1cb100d32.tar.gz rust-542bc75deaaf4e84dcd7a196685bc1a1cb100d32.zip | |
Turn features() into a query.
Diffstat (limited to 'src/librustc_plugin')
| -rw-r--r-- | src/librustc_plugin/load.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_plugin/load.rs b/src/librustc_plugin/load.rs index a46b85d93cb..bf59165a9c4 100644 --- a/src/librustc_plugin/load.rs +++ b/src/librustc_plugin/load.rs @@ -52,7 +52,7 @@ pub fn load_plugins(sess: &Session, // do not report any error now. since crate attributes are // not touched by expansion, every use of plugin without // the feature enabled will result in an error later... - if sess.features.borrow().plugin { + if sess.features_untracked().plugin { for attr in &krate.attrs { if !attr.check_name("plugin") { continue; |
