-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Incorporate dyn
into more comments and docs.
#56101
Conversation
92d256c
to
033cbfe
Compare
☔ The latest upstream changes (presumably #56118) made this pull request unmergeable. Please resolve the merge conflicts. |
I'm not sure to see the why of this PR. It works without |
|
r=me after the conflict has been fixed |
@bors r=steveklabnik rollup |
📌 Commit ebb1a48 has been approved by |
@@ -8,7 +8,8 @@ | |||
// option. This file may not be copied, modified, or distributed | |||
// except according to those terms. | |||
|
|||
// Ensure that both `Box<Error + Send + Sync>` and `Box<Error>` can be obtained from `String`. | |||
// Ensure that both `Box<dyn Error + Send + Sync>` and `Box<dyn Error>` can be | |||
// obtained from `String`. |
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.
Shouldn't the types in the code below be consistent with the ones in the comment here?
Incorporate `dyn` into more comments and docs. r? @rust-lang/docs
Rollup of 14 pull requests Successful merges: - #56024 (Don't auto-inline const functions) - #56045 (Check arg/ret sizedness at ExprKind::Path) - #56072 (Stabilize macro_literal_matcher) - #56075 (Encode a custom "producers" section in wasm files) - #56100 (generator fields are not necessarily initialized) - #56101 (Incorporate `dyn` into more comments and docs.) - #56144 (Fix BTreeSet and BTreeMap gdb pretty-printers) - #56151 (Move a flaky process test out of libstd) - #56170 (Fix self profiler ICE on Windows) - #56176 (Panic setup msg) - #56204 (Suggest correct enum variant on typo) - #56207 (Stabilize the int_to_from_bytes feature) - #56210 (read_c_str should call the AllocationExtra hooks) - #56211 ([master] Forward-ports from beta) Failed merges: r? @ghost
r? @rust-lang/docs