]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.


Trivial merge