Skip to content

Rollup of 10 pull requests #89019

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

Merged
merged 23 commits into from
Sep 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b82ec36
Recover from `Foo(a: 1, b: 2)`
estebank Sep 7, 2021
e1873ba
cleanup(rustc_trait_selection): remove vestigial code from rustc_on_u…
notriddle Sep 11, 2021
6b7f916
Document the closure arguments for `reduce`.
lefth Sep 14, 2021
ffc623a
review comment: move recovery code to its own function
estebank Sep 14, 2021
9762116
Move object safety suggestions to the end of the error
estebank Sep 12, 2021
ef44452
chore(rustc_expand): fix typo in comment
notriddle Sep 15, 2021
cc7929b
docs(std): add docs for cof_from_cstr impls
notriddle Sep 15, 2021
09745a6
Update clobber_abi list to include k[1-7] regs
Sep 15, 2021
4e61d11
Update the backtrace crate
hargoniX Sep 15, 2021
4fd39dd
Make rustc_mir_dataflow::framework::graphviz and rustc_mir_transform:…
willcrichton Sep 15, 2021
47104a3
Allow call to get_body_with_borrowck_facts without -Z polonius
willcrichton Sep 15, 2021
549d742
Enable rustdoc's --generate-link-to-definition for rustc docs
SkiFire13 Aug 24, 2021
a452d02
Fix typo in `break` docs
yjhn Sep 16, 2021
0ad800c
Rollup merge of #88292 - SkiFire13:enable-rustdoc-links, r=jyn514
Manishearth Sep 16, 2021
2c7d48b
Rollup merge of #88729 - estebank:struct-literal-using-parens, r=oli-obk
Manishearth Sep 16, 2021
b66c9c3
Rollup merge of #88875 - notriddle:notriddle/cleanup-unused-trait-sel…
Manishearth Sep 16, 2021
14eb87d
Rollup merge of #88892 - estebank:trait-objects, r=petrochenkov
Manishearth Sep 16, 2021
5b6285e
Rollup merge of #88928 - lefth:master, r=Mark-Simulacrum
Manishearth Sep 16, 2021
06dbc28
Rollup merge of #88976 - notriddle:notriddle/cow-from-cstr-docs, r=Ma…
Manishearth Sep 16, 2021
4601a71
Rollup merge of #88983 - willcrichton:allow-single-polonius-call, r=e…
Manishearth Sep 16, 2021
617725a
Rollup merge of #88985 - Commeownist:patch-1, r=Amanieu
Manishearth Sep 16, 2021
84d384c
Rollup merge of #88986 - hargoniX:master, r=Mark-Simulacrum
Manishearth Sep 16, 2021
d9fa356
Rollup merge of #89009 - tatami4:master, r=Mark-Simulacrum
Manishearth Sep 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup(rustc_trait_selection): remove vestigial code from rustc_on_u…
…nimplemented

This isn't allowed by the validator, and seems to be unused.
When it was added in ed10a3f,
it was used on `Sized`, and that usage is gone.
  • Loading branch information
notriddle committed Sep 11, 2021
commit e1873ba007149e69bb996f7becadc796ed87fc0c
1 change: 0 additions & 1 deletion compiler/rustc_span/src/symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,6 @@ symbols! {
panic_unwind,
panicking,
param_attrs,
parent_trait,
partial_cmp,
partial_ord,
passes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,6 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
flags.push((sym::from_method, Some(method.to_string())));
}
}
if let Some((t, _)) = self.get_parent_trait_ref(&obligation.cause.code) {
flags.push((sym::parent_trait, Some(t)));
}

if let Some(k) = obligation.cause.span.desugaring_kind() {
flags.push((sym::from_desugaring, None));
Expand Down