mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-02 10:04:23 +00:00
d37e1e186e
Otherwise code like this #![no_implicit_prelude] fn main() { ::std::todo!(); ::std::unimplemented!(); } will fail to compile, which is unfortunate and presumably unintended. This changes many invocations of `panic!` in a `macro_rules!` definition to invocations of `$crate::panic!`, which makes the invocations hygienic. Note that this does not make the built-in macro `assert!` hygienic. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |