We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de6a468 commit e33bb34Copy full SHA for e33bb34
src/librustc/dep_graph/graph.rs
@@ -1141,6 +1141,17 @@ pub struct RegularOpenTask {
1141
read_set: FxHashSet<DepNodeIndex>,
1142
}
1143
1144
+// FIXME: Remove
1145
+#[no_mangle]
1146
+pub fn test1(a: &mut SmallVec<[DepNodeIndex; 8]>) {
1147
+ a.push(DepNodeIndex::new(8));
1148
+}
1149
+
1150
1151
+pub fn test2(a: &mut DepGraph, dep_node_index: DepNodeIndex) {
1152
+ a.read_index(dep_node_index)
1153
1154
1155
pub struct AnonOpenTask {
1156
reads: SmallVec<[DepNodeIndex; 8]>,
1157
0 commit comments