Uh oh!
There was an error while loading. Please reload this page.
resolve: Temporarily make panic available with no_implicit_prelude - #61971
resolve: Temporarily make panic available with no_implicit_prelude#61971petrochenkov wants to merge 1 commit into
panic available with no_implicit_prelude#61971Conversation
rust-highfive
commented
Jun 19, 2019
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
estebank
commented
Jun 19, 2019
cc @rust-lang/compiler What is the behavior when it compiles? Does the correct macro get found (core/std) and run? |
petrochenkov
commented
Jun 20, 2019
It makes any macro named |
pnkfelix
commented
Jun 20, 2019
Discussed at T-compiler meeting. Closed #61567 as wont-fix; closing this as wont-land. |
Mark-Simulacrum
commented
Jun 25, 2019
I am de-nominating this from beta -- it seems we're not going ahead with a fix here. |
Until uses of
panicin the standard library are hygienized somehow (#61629).Closes#61567 (which was introduced by migration or
core/stdto 2018 edition).Alternative: Close#61567 as wontfix, this PR is a hack and makes
panicavailable even if it's not nested in a standard macro, andno_implicit_preludeis almost never used in practice, and the proper solution wont' be ready until the release.