Skip to content

ICE: Failure in issue-9725.rs #13992

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

Closed
richo opened this issue May 6, 2014 · 0 comments
Closed

ICE: Failure in issue-9725.rs #13992

richo opened this issue May 6, 2014 · 0 comments

Comments

@richo
Copy link
Contributor

richo commented May 6, 2014

In order to land #13967 I'm ignoring the test in src/test/compile-fail/issue-9725.rs which currently explodes rustc.

Sawyer47 added a commit to Sawyer47/rust that referenced this issue Jun 24, 2014
This commit removes FIXMEs of few closed issues.

Closes rust-lang#13992
lnicola pushed a commit to lnicola/rust that referenced this issue Jun 19, 2023
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 28, 2025
…ng#13992)

Commit 9ef6e21 introduced a check to
ensure that Clippy doesn't consider a lifetime present in an explicit
self types as being the default for an elided output lifetime. For
example, elision did not work in the case like:

```rust
  fn func(self: &Rc<Self>, &str) -> &str { … }
```

Since Rust 1.81.0, the lifetime in the self type is now considered the
default for elision. Elision should then be suggested when appropriate.

changelog: [`needless_lifetimes`]: suggest elision of lifetimes present
in explicit self types as well

r? @Alexendoo
because of rust-lang#8278
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 a pull request may close this issue.

1 participant