rust/library/core
Camelid d37e1e186e Qualify panic! as core::panic! in non-built-in core macros
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.
2020-11-23 11:28:25 -08:00
..
benches Remove redundant 'static from library crates 2020-10-18 17:25:51 +02:00
src Qualify panic! as core::panic! in non-built-in core macros 2020-11-23 11:28:25 -08:00
tests Auto merge of #78088 - fusion-engineering-forks:panic-fmt-lint, r=estebank 2020-11-20 03:40:20 +00:00
Cargo.toml mv std libs to library/ 2020-07-27 19:51:13 -05:00