]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51639 - SimonSapin:missing-alloc, r=rkruppe
authorbors <bors@rust-lang.org>
Tue, 19 Jun 2018 23:37:09 +0000 (23:37 +0000)
committerbors <bors@rust-lang.org>
Tue, 19 Jun 2018 23:37:09 +0000 (23:37 +0000)
commitac8d1f7623f55746ff8f59d6b26f03c39cee5844
treed4467568280c72ad155193c404ae5bad9d0a2dcd
parentf28c7aef7fbff1909c2d0257186cd7a5f0c6aa4b
parentd2fe6c452790b8d9e986777694390f2f378c58cb
Auto merge of #51639 - SimonSapin:missing-alloc, r=rkruppe

Update the error message for a missing global allocator

Don’t mention `#[default_lib_allocator]` (which is an implementation detail irrelevant to most users) and  instead suggest using `#[global_allocator]`, which is often the correct fix.