You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Signature suggested for missing trait item implementation is missing ?Sized bound #85643
A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
error[E0046]: not all trait items implemented, missing: `sample`
--> src/lib.rs:3:1
|
3 | impl rand::distr::distribution::Distribution<()> for D {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sample` in implementation
|
= help: implement the missing item: `fn sample<R>(&self, _: &mut R) where R: ?Sized, R: Rng { todo!() }`
The test will need to have an auxiliary crate dep for the trait definition so that the suggestion will trigger (for the same crate, we just point at the signature).
A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
estebank commentedon Aug 13, 2026
Current output:
The test will need to have an auxiliary crate dep for the trait definition so that the suggestion will trigger (for the same crate, we just point at the signature).
KevinA-cpu commentedon Aug 17, 2026
@rustbot claim
Rollup merge of rust-lang#161249 - KevinA-cpu:regression-test-85643, …
Unrolled build for #161249