You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal: minicore: add the Hash derive macro to the prelude
This commit adds the core::hash::Hash derive macro to the prelude, just like rustc does. They define
the macro in a private core::hash::macros module, presumably to differentiate between the macro and
trait (who otherwise share the same path). Only the macro is in the prelude, which minicore now mirrors.
I've also added support for multiple "line regions" in minicore, as the prelude re-export needs both
"hash" and "derive". The syntax looks as follows: "// :hash, derive".
0 commit comments