f91ccf9ace
Simplify the `run` macro to avoid sometimes unnecessary dependency on `TyCtxt`. Instead, users can use the new internal method `tcx()`. Additionally, extend the macro to accept closures that may capture variables. These are non-backward compatible changes, but they only affect internal APIs which are provided today as helper functions until we have a stable API to start the compiler. |
||
---|---|---|
.. | ||
check_abi.rs | ||
check_allocation.rs | ||
check_defs.rs | ||
check_instance.rs | ||
check_item_kind.rs | ||
check_trait_queries.rs | ||
check_ty_fold.rs | ||
compilation-result.rs | ||
crate-info.rs | ||
projections.rs | ||
smir_internal.rs | ||
smir_visitor.rs |