Skip to content

Conversation

@alexcrichton
Copy link
Member

This is another case of #13246. The RAII lock wasn't being destroyed until after
the allocation was free'd due to destructor scheduling.

Closes #14784

This is another case of rust-lang#13246. The RAII lock wasn't being destroyed until after
the allocation was free'd due to destructor scheduling.

Closes rust-lang#14784
bors added a commit that referenced this pull request Jun 11, 2014
This is another case of #13246. The RAII lock wasn't being destroyed until after
the allocation was free'd due to destructor scheduling.

Closes #14784
@bors bors closed this Jun 11, 2014
@bors bors merged commit 4fecc50 into rust-lang:master Jun 11, 2014
@alexcrichton alexcrichton deleted the issue-14784 branch June 11, 2014 23:32
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
MIR episode 5

This PR inits drop support (it is very broken at this stage, some things are dropped multiple time, drop scopes are wrong, ...) and adds stdout support (`println!` doesn't work since its expansion is dummy, but `stdout().write(b"hello world\n")` works if you use `RA_SYSROOT_HACK`) for interpreting. There is no useful unit test that it can interpret yet, but it is a good sign that it didn't hit a major road block yet.

In MIR lowering, it adds support for slice pattern and anonymous const blocks, and some fixes so that we can evaluate `SmolStr::new_inline` in const eval. With these changes, 57 failed mir body remains.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 6, 2025
and use it instead of `clippy::only_used_in_recursion` when the
parameter in question is self.

Fixes rust-lang/rust-clippy#10370

changelog: [`only_used_in_recursion`]: Don't lint if parameter is
`self`; add pedantic `self_only_used_in_recursion` lint.
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

Successfully merging this pull request may close these issues.

Valgrind: Invalid reads on empty program.

3 participants