Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
allocator
/
function-allocator.rs
blob: d53f6e9b72e88dda866e68ddc446eb4491ddbf75 [
file
]
#[
global_allocator
]
fn
foo
()
{}
//~ ERROR: allocators must be statics
fn
main
()
{}