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

rustc: Explicitly mention type params with missing 'static bounds #12572

Merged
merged 1 commit into from
Feb 26, 2014

Conversation

lifthrasiir
Copy link
Contributor

This is inspired by the question (re-)posted to /r/rust. The error message in this question correctly states that one should add 'static to the trait bounds, but does not state which trait bounds. This PR makes that explicit by appending two words.

This also renames check_durable to check_static and removes the outdated comment as a cleanup.

Also renames `check_durable` to `check_static` and removes the outdated
comment.
bors added a commit that referenced this pull request Feb 26, 2014
…xcrichton

This is inspired by the [question](http://www.reddit.com/r/rust/comments/1yy57k/unsolved_question_from_irc/) (re-)posted to /r/rust. The error message in this question correctly states that one should add `'static` to the trait bounds, but does not state which trait bounds. This PR makes that explicit by appending two words.

This also renames `check_durable` to `check_static` and removes the outdated comment as a cleanup.
@bors bors closed this Feb 26, 2014
@bors bors merged commit 9083cb2 into rust-lang:master Feb 26, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
…logiq

Move `mixed_attributes_style` to style

> It currently is in suspicious. I wouldn't say that the linted code is "most likely wrong or useless"
[...]
> 😅 I would still argue that this doesn't belong in the suspicious group, but rather in the style group.

These are some good points made [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/mixed_attributes_style.20on.20outlined.20modules/near/429823328).

----

changelog: Move [`mixed_attributes_style`] to the `style` category
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 25, 2024
…logiq

Move `mixed_attributes_style` to style

> It currently is in suspicious. I wouldn't say that the linted code is "most likely wrong or useless"
[...]
> 😅 I would still argue that this doesn't belong in the suspicious group, but rather in the style group.

These are some good points made [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/mixed_attributes_style.20on.20outlined.20modules/near/429823328).

----

changelog: Move [`mixed_attributes_style`] to the `style` category
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 25, 2024
…logiq

Move `mixed_attributes_style` to style

> It currently is in suspicious. I wouldn't say that the linted code is "most likely wrong or useless"
[...]
> 😅 I would still argue that this doesn't belong in the suspicious group, but rather in the style group.

These are some good points made [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/mixed_attributes_style.20on.20outlined.20modules/near/429823328).

----

changelog: Move [`mixed_attributes_style`] to the `style` category
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.

3 participants