Skip to content
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

LLVM assert with plain "put;" #947

Closed
jruderman opened this issue Sep 20, 2011 · 0 comments
Closed

LLVM assert with plain "put;" #947

jruderman opened this issue Sep 20, 2011 · 0 comments

Comments

@jruderman
Copy link
Contributor

In generic-iter-frame.rs, replacing "put ();" with "put;" results in an LLVM assertion.

Reduced testcase:

iter i() { put; }
fn main() { for each j in i() { } }

Assertion failed: (((Args.size() == FTy->getNumParams()) || (FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Invoking a function with bad signature"), function init, file Instructions.cpp, line 526.

ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
flip1995 pushed a commit to flip1995/rust that referenced this issue Sep 25, 2023
…nt-levels, r=xFrednet

used_underscore_bindings: respect lint levels on the binding definition

Fixes rust-lang#11520
Fixes rust-lang#947

Also ignores usages of `PhantomData`

changelog: none
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
* Remove Litani submodule

* Install Litani using the deb package

* Do not add Litani submodule to path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants