Simplify a provider definition.
This commit is contained in:
parent
016a709b24
commit
fda52b8f63
@ -127,7 +127,7 @@ pub fn provide(providers: &mut Providers) {
|
||||
mir_coroutine_witnesses: coroutine::mir_coroutine_witnesses,
|
||||
optimized_mir,
|
||||
is_mir_available,
|
||||
is_ctfe_mir_available: |tcx, did| is_mir_available(tcx, did),
|
||||
is_ctfe_mir_available: is_mir_available,
|
||||
mir_callgraph_reachable: inline::cycle::mir_callgraph_reachable,
|
||||
mir_inliner_callees: inline::cycle::mir_inliner_callees,
|
||||
promoted_mir,
|
||||
|
Loading…
Reference in New Issue
Block a user