diff options
| author | flip1995 <uwdkn@student.kit.edu> | 2018-04-17 15:33:39 +0200 |
|---|---|---|
| committer | flip1995 <uwdkn@student.kit.edu> | 2018-05-02 12:05:13 +0200 |
| commit | 121abd0599f6fd056dca84fe1df724fb7822b355 (patch) | |
| tree | ac94e33099b35abc0bd5e7302419c4f2391793cd /src/librustc_driver/lib.rs | |
| parent | 24a6284fcd1d40c0d8f8b58d29a672ec78cfa94b (diff) | |
| download | rust-121abd0599f6fd056dca84fe1df724fb7822b355.tar.gz rust-121abd0599f6fd056dca84fe1df724fb7822b355.zip | |
make it compile again
Diffstat (limited to 'src/librustc_driver/lib.rs')
| -rw-r--r-- | src/librustc_driver/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 67ba55a6aab..a1052ca6c3c 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -1060,7 +1060,7 @@ impl RustcDefaultCalls { let mut cfgs = Vec::new(); for &(name, ref value) in sess.parse_sess.config.iter() { let gated_cfg = GatedCfg::gate(&ast::MetaItem { - name: ast::Path::from_ident(DUMMY_SP, name.to_ident()), + ident: ast::Path::from_ident(name.to_ident()), node: ast::MetaItemKind::Word, span: DUMMY_SP, }); |
