-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add tests for some const generics issues #88602
Conversation
|
||
fn pop(self) -> (Self::Newlen, Self::Output) { | ||
let mut iter = IntoIter::new(self); | ||
//~^ ERROR: failed to resolve: use of undeclared type `IntoIter` |
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.
Does importing the trait break the ICE? If not wouldn't be including it easier for this testcase?
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.
I'm honestly not sure if it would cause this to not repro the ICE or not. I don't really have a way of verifying...
@bors r+ rollup |
📌 Commit 89c6d4f has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#88602 (Add tests for some const generics issues) - rust-lang#88647 (Document when to use Windows' `symlink_dir` vs. `symlink_file`) - rust-lang#88659 (Remove SmallVector mention) - rust-lang#88661 (Correct typo) - rust-lang#88673 (Fix typo: needede -> needed) - rust-lang#88685 (:arrow_up: rust-analyzer) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
closes #82956
closes #84659
closes #86530
closes #86535
there is also a random test in here about array repeat expressions that I already had on this branch but it seems to fit the theme of this PR so kept it...
r? @lcnr