Skip to content

Commit 90c456e

Browse files
committed
Remove force!.
1 parent 421bd77 commit 90c456e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/librustc/ty/query/plumbing.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,10 +1218,6 @@ pub fn force_from_dep_node(tcx: TyCtxt<'_>, dep_node: &DepNode) -> bool {
12181218
}
12191219
};
12201220

1221-
macro_rules! force {
1222-
($query:ident, $key:expr) => { force_ex!(tcx, $query, $key) }
1223-
};
1224-
12251221
rustc_dep_node_force!([dep_node, tcx]
12261222
// These are inputs that are expected to be pre-allocated and that
12271223
// should therefore always be red or green already.
@@ -1240,7 +1236,7 @@ pub fn force_from_dep_node(tcx: TyCtxt<'_>, dep_node: &DepNode) -> bool {
12401236
bug!("force_from_dep_node: encountered {:?}", dep_node)
12411237
}
12421238

1243-
DepKind::Analysis => { force!(analysis, krate!()); }
1239+
DepKind::Analysis => { force_ex!(tcx, analysis, krate!()); }
12441240
);
12451241

12461242
true

0 commit comments

Comments
 (0)