ICE when static global allocator is defined in main function #58072
Labels
A-allocators
Area: Custom and system allocators
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While writing some doctests for a custom allocator this popped up. Easy fix for the doc test, just add
# fn main() {}
after the static.playground
The text was updated successfully, but these errors were encountered: