-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renamed Arc::try_unique to get_mut #24053
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
Hmm, the doc check gives me these errors, which I don't know how to fix: ---- arc::get_mut_0 stdout ----
<anon>:6:22: 6:27 error: unresolved import `alloc::arc::Arc`. Did you mean `self::alloc::arc`?
<anon>:6 use alloc::arc::{Arc, get_mut};
^~~~~
<anon>:6:27: 6:32 error: unresolved import `alloc::arc::get_mut`. Did you mean `self::alloc::arc`?
<anon>:6 use alloc::arc::{Arc, get_mut};
^~~~~ |
/// | ||
/// # Examples | ||
/// | ||
/// ``` | ||
/// # #![feature(alloc)] | ||
/// extern crate alloc; | ||
/// # fn main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you'll want to leave this fn main
wrapper as otherwise the extern crate alloc
is injected into the wrong scope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that explains it ;)
f9a4d31
to
ec8faf2
Compare
@alexcrichton Please have another look. |
⌛ Testing commit bc1aef3 with merge 6d78aa6... |
💔 Test failed - auto-mac-64-nopt-t |
Might be an intermittent? |
This error seems unrelated |
@bors: retry |
(If it passes this time around, we should file it as an intermittent) |
As requested by @kballard in #23844