about summary refs log tree commit diff
path: root/src/librustc_incremental/assert_dep_graph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_incremental/assert_dep_graph.rs')
-rw-r--r--src/librustc_incremental/assert_dep_graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_incremental/assert_dep_graph.rs b/src/librustc_incremental/assert_dep_graph.rs
index 57311a7b588..38e891008f7 100644
--- a/src/librustc_incremental/assert_dep_graph.rs
+++ b/src/librustc_incremental/assert_dep_graph.rs
@@ -110,7 +110,7 @@ impl<'a, 'tcx> IfThisChanged<'a, 'tcx> {
         for list_item in attr.meta_item_list().unwrap_or_default() {
             match list_item.word() {
                 Some(word) if value.is_none() =>
-                    value = Some(word.ident.name),
+                    value = Some(word.name()),
                 _ =>
                     // FIXME better-encapsulate meta_item (don't directly access `node`)
                     span_bug!(list_item.span(), "unexpected meta-item {:?}", list_item.node),