Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0e4beba
Add basic triagebot configuration
Urgau Jan 29, 2026
bad7930
Merge pull request #504 from Urgau/triagebot-config
calebzulawski Jan 29, 2026
01f91e4
Add `Select` and `ToBytes` to prelude
okaneco Feb 7, 2026
e797bc7
Merge pull request #506 from okaneco/prelude
programmerjake Feb 8, 2026
a8af194
docs(simd): fix `load_select_or_default` documentation
b01o Feb 8, 2026
08aa04d
show both kinds of masking-out elements in the example
b01o Feb 8, 2026
81dcf4c
more clear example
b01o Feb 8, 2026
b6a0170
Merge pull request #507 from b01o/fix-doc-simd-load-select-or-default
programmerjake Feb 8, 2026
af51712
Fix typos in documentation
him2him2 Feb 10, 2026
b8bef67
Merge pull request #508 from him2him2/fix-typos
programmerjake Feb 10, 2026
e66819d
Add round_ties_even to StdFloat trait
zRedShift Feb 21, 2026
dc5ab0d
update `proptest` from `0.10` to `1.0`
folkertdev Mar 14, 2026
5c37faf
Add tests for `Mask::first_set`
Kmeakin Mar 14, 2026
b99b62c
Optimize `Mask::first_set`
Kmeakin Mar 14, 2026
7d6df68
Merge pull request #511 from folkertdev/update-proptest
calebzulawski Mar 14, 2026
3bc9bcf
Merge pull request #512 from Kmeakin/km/simd-first-set
calebzulawski Mar 14, 2026
99e9d40
Merge pull request #510 from zRedShift/add-round-ties-even
calebzulawski Mar 15, 2026
ed150fb
bump toolchain to `nightly-2026-03-18`
folkertdev Mar 18, 2026
0c17257
Merge pull request #514 from folkertdev/toolchain-bump
calebzulawski Mar 19, 2026
8ada24a
Add support for Hexagon HVX (#509)
androm3da Mar 27, 2026
63d7f8e
Initial methods to start on transmute v2
scottmcm Apr 10, 2026
6bcd172
add `cfg(target_object_format = "...")`
Apr 10, 2026
9371fea
fix spurious test failure in `metadata_access_times`
mattiapitossi Apr 11, 2026
8998c11
add next-solver min-specialization region-resolution regression test
TaKO8Ki Apr 11, 2026
40a3ed1
propagate region resolution failures
TaKO8Ki Apr 11, 2026
0557e34
Add `f16` vector support (#513)
folkertdev Apr 11, 2026
a133bb8
replace @ ty::AliasTy matches with just args
WilliamTakeshi Apr 11, 2026
aa656a9
Merge commit '0557e3478104037c76c2e5be7ea21e56ebbaff6e' into sync-fro…
folkertdev Apr 11, 2026
c4e4156
Reduce size of `ImportData`
mejrs Apr 11, 2026
d83352b
Rollup merge of #155084 - scottmcm:add-transmute-prefix, r=Mark-Simul…
jhpratt Apr 12, 2026
1700a21
Rollup merge of #155126 - folkertdev:target-object-format, r=Urgau
jhpratt Apr 12, 2026
d82e5e6
Rollup merge of #155165 - folkertdev:sync-from-portable-simd-2026-04-…
jhpratt Apr 12, 2026
af4f14b
Rollup merge of #153871 - mattiapitossi:issue-148408, r=Mark-Simulacrum
jhpratt Apr 12, 2026
6d7015c
Rollup merge of #155150 - WilliamTakeshi:alias-ty-args-binding, r=Waf…
jhpratt Apr 12, 2026
22328dc
Rollup merge of #155159 - TaKO8Ki:min-specialization-next-solver-regi…
jhpratt Apr 12, 2026
040b6db
Rollup merge of #155167 - mejrs:box_directive, r=Kivooeo
jhpratt Apr 12, 2026
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
add next-solver min-specialization region-resolution regression test
  • Loading branch information
TaKO8Ki committed Apr 11, 2026
commit 8998c11244b5ea0132871601336f62e0d23ae8aa
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//@ compile-flags: -Znext-solver=globally
// Regression test for https://github.com/rust-lang/rust/issues/151327

#![feature(min_specialization)]

trait Foo {
type Item;
}

trait Baz {}

impl<'a, T> Foo for &'a T //~ ERROR not all trait items implemented, missing: `Item`
//~| ERROR the trait bound `&'a T: Foo` is not satisfied
where
Self::Item: 'a, //~ ERROR the trait bound `&'a T: Foo` is not satisfied
{
}

impl<'a, T> Foo for &T //~ ERROR not all trait items implemented, missing: `Item`
//~| ERROR cannot normalize `<&_ as Foo>::Item: '_`
where
Self::Item: Baz,
{
}

fn main() {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
error[E0046]: not all trait items implemented, missing: `Item`
--> $DIR/next-solver-region-resolution.rs:12:1
|
LL | type Item;
| --------- `Item` from trait
...
LL | / impl<'a, T> Foo for &'a T
LL | |
LL | | where
LL | | Self::Item: 'a,
| |___________________^ missing `Item` in implementation

error[E0277]: the trait bound `&'a T: Foo` is not satisfied
--> $DIR/next-solver-region-resolution.rs:12:21
|
LL | impl<'a, T> Foo for &'a T
| ^^^^^ the trait `Foo` is not implemented for `&'a T`
|
help: the trait `Foo` is not implemented for `&'a _`
but it is implemented for `&_`
--> $DIR/next-solver-region-resolution.rs:12:1
|
LL | / impl<'a, T> Foo for &'a T
LL | |
LL | | where
LL | | Self::Item: 'a,
| |___________________^

error[E0277]: the trait bound `&'a T: Foo` is not satisfied
--> $DIR/next-solver-region-resolution.rs:15:17
|
LL | Self::Item: 'a,
| ^^ the trait `Foo` is not implemented for `&'a T`
|
help: the trait `Foo` is not implemented for `&'a _`
but it is implemented for `&_`
--> $DIR/next-solver-region-resolution.rs:12:1
|
LL | / impl<'a, T> Foo for &'a T
LL | |
LL | | where
LL | | Self::Item: 'a,
| |___________________^

error[E0046]: not all trait items implemented, missing: `Item`
--> $DIR/next-solver-region-resolution.rs:19:1
|
LL | type Item;
| --------- `Item` from trait
...
LL | / impl<'a, T> Foo for &T
LL | |
LL | | where
LL | | Self::Item: Baz,
| |____________________^ missing `Item` in implementation

error: cannot normalize `<&_ as Foo>::Item: '_`
--> $DIR/next-solver-region-resolution.rs:19:1
|
LL | / impl<'a, T> Foo for &T
LL | |
LL | | where
LL | | Self::Item: Baz,
| |____________________^

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0046, E0277.
For more information about an error, try `rustc --explain E0046`.