Skip to content

Rollup of 17 pull requests #89543

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

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ce450f8
Use the 64b inner:monotonize() implementation not the 128b one for aa…
AGSaidi Sep 4, 2021
4f5563d
Added abs_diff for integer types.
orlp Sep 9, 2021
77e7f8a
Added psadbw support for u8::abs_diff.
orlp Sep 9, 2021
d8dae4f
Perform type inference in range pattern
nbdd0121 Aug 16, 2021
ca1616c
Add ui test for issue 88074
nbdd0121 Aug 16, 2021
52a0403
Add a range pattern inference failing test
nbdd0121 Aug 16, 2021
c8f86ca
Elaborate predicates in min_specialization checks
matthewjasper Sep 30, 2021
051d5b0
Fix standard library for min_specialization changes
matthewjasper Sep 30, 2021
fa4072f
path.push() should work as expected on windows verbatim paths
seanyoung Sep 26, 2021
03cf07f
Update to the final LLVM 13.0.0 release
cuviper Oct 2, 2021
0a82acc
Query the fingerprint style during key reconstruction
Mark-Simulacrum Oct 2, 2021
63aaf88
Add a test that -Zquery-dep-graph -Zdump-dep-graph works
Mark-Simulacrum Oct 2, 2021
e2d3e09
Prevent macro ambiguity errors
bjorn3 May 30, 2021
abbead7
rustdoc: Improve doctest pass's name and module's name
camelid Oct 2, 2021
3da9dea
Add test for issue 89118.
hameerabbasi Oct 3, 2021
dc40430
Move test to correct path.
hameerabbasi Oct 3, 2021
d6a7e74
Combined 4 commits into 1
zvavybir Oct 2, 2021
cf19131
Try to recover from a `=>` -> `=` or `->` typo in a match arm
FabianWolff Oct 3, 2021
9626f2b
Fix extra `non_snake_case` warning for shorthand field bindings
FabianWolff Oct 2, 2021
6dd6e7c
Added tracking issue numbers for int_abs_diff.
orlp Oct 3, 2021
e34fd54
Deny `where` clauses on `auto` traits
FabianWolff Oct 3, 2021
55a3c86
:arrow_up: rust-analyzer
lnicola Oct 4, 2021
00152d8
Stabilize try_reserve
kornelski Aug 29, 2021
079c075
Use `TokenKind::similar_tokens()`
FabianWolff Oct 4, 2021
e5d0178
update Miri
RalfJung Oct 4, 2021
3cbd39f
Rollup merge of #87993 - kornelski:try_reserve_stable, r=joshtriplett
Manishearth Oct 5, 2021
537d112
Rollup merge of #88090 - nbdd0121:inference, r=nikomatsakis
Manishearth Oct 5, 2021
b4630da
Rollup merge of #88651 - AGSaidi:monotonize-inner-64b-aarch64, r=dtolnay
Manishearth Oct 5, 2021
e7a8472
Rollup merge of #88780 - orlp:int-abs-diff, r=m-ou-se
Manishearth Oct 5, 2021
803619d
Rollup merge of #89270 - seanyoung:join_fold, r=m-ou-se
Manishearth Oct 5, 2021
4aa2ec8
Rollup merge of #89343 - Mark-Simulacrum:no-args-queries, r=cjgillot
Manishearth Oct 5, 2021
65eb6e9
Rollup merge of #89413 - matthewjasper:spec-marker-fix, r=nikomatsakis
Manishearth Oct 5, 2021
63bd79a
Rollup merge of #89456 - cuviper:llvm-13, r=nikic
Manishearth Oct 5, 2021
26c2f32
Rollup merge of #89466 - Mark-Simulacrum:query-macros, r=oli-obk
Manishearth Oct 5, 2021
ef374c3
Rollup merge of #89473 - FabianWolff:issue-89469, r=joshtriplett
Manishearth Oct 5, 2021
9e8a249
Rollup merge of #89474 - camelid:better-pass-name, r=jyn514
Manishearth Oct 5, 2021
8d33cb7
Rollup merge of #89478 - zvavybir:master, r=jyn514
Manishearth Oct 5, 2021
0b2150a
Rollup merge of #89480 - hameerabbasi:issue-89118-test, r=jackh726
Manishearth Oct 5, 2021
a77b2f3
Rollup merge of #89487 - FabianWolff:issue-89396, r=petrochenkov
Manishearth Oct 5, 2021
ddd06e3
Rollup merge of #89494 - FabianWolff:issue-84075, r=davidtwco
Manishearth Oct 5, 2021
5733f37
Rollup merge of #89511 - lnicola:rust-analyzer-2021-10-04, r=lnicola
Manishearth Oct 5, 2021
6dce822
Rollup merge of #89536 - RalfJung:miri, r=RalfJung
Manishearth Oct 5, 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
Combined 4 commits into 1
Fixed numerus of error message

Removed superfluous argument

Using pluralize!() instead of code duplication

Adjusted a test
  • Loading branch information
zvavybir committed Oct 3, 2021
commit d6a7e74c81fbe412b7041a27d7daa80e9198783a
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ use crate::traits::normalize_projection_type;
use rustc_data_structures::fx::FxHashSet;
use rustc_data_structures::stack::ensure_sufficient_stack;
use rustc_data_structures::sync::Lrc;
use rustc_errors::{error_code, struct_span_err, Applicability, DiagnosticBuilder, Style};
use rustc_errors::{
error_code, pluralize, struct_span_err, Applicability, DiagnosticBuilder, Style,
};
use rustc_hir as hir;
use rustc_hir::def::DefKind;
use rustc_hir::def_id::DefId;
Expand Down Expand Up @@ -2273,7 +2275,11 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
parent_trait_ref = child_trait_ref;
}
if count > 0 {
err.note(&format!("{} redundant requirements hidden", count));
err.note(&format!(
"{} redundant requirement{} hidden",
count,
pluralize!(count)
));
err.note(&format!(
"required because of the requirements on the impl of `{}` for `{}`",
parent_trait_ref.print_only_trait_path(),
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/associated-types/impl-wf-cycle-1.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ note: required because of the requirements on the impl of `Grault` for `(T,)`
|
LL | impl<T: Grault> Grault for (T,)
| ^^^^^^ ^^^^
= note: 1 redundant requirements hidden
= note: 1 redundant requirement hidden
= note: required because of the requirements on the impl of `Grault` for `(T,)`

error[E0275]: overflow evaluating the requirement `<(T,) as Grault>::A == _`
Expand All @@ -29,7 +29,7 @@ note: required because of the requirements on the impl of `Grault` for `(T,)`
|
LL | impl<T: Grault> Grault for (T,)
| ^^^^^^ ^^^^
= note: 1 redundant requirements hidden
= note: 1 redundant requirement hidden
= note: required because of the requirements on the impl of `Grault` for `(T,)`

error[E0275]: overflow evaluating the requirement `<(T,) as Grault>::A == _`
Expand All @@ -43,7 +43,7 @@ note: required because of the requirements on the impl of `Grault` for `(T,)`
|
LL | impl<T: Grault> Grault for (T,)
| ^^^^^^ ^^^^
= note: 1 redundant requirements hidden
= note: 1 redundant requirement hidden
= note: required because of the requirements on the impl of `Grault` for `(T,)`

error: aborting due to 3 previous errors
Expand Down