mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
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. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml |