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

Continue cfg syntax transition #17963

Merged
merged 1 commit into from
Oct 13, 2014
Merged

Continue cfg syntax transition #17963

merged 1 commit into from
Oct 13, 2014

Conversation

sfackler
Copy link
Member

All deprecation warnings have been converted to errors. This includes
the warning for multiple cfgs on one item. We'll leave that as an error
for some period of time to ensure that all uses are updated before the
behavior changes from "or" to "and".

@rust-highfive
Copy link
Collaborator

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

#[test]
#[ignore(cfg(noignorecfg))]
fn shouldnotignore() {
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could these stay, but with cfg_attr instead?

All deprecation warnings have been converted to errors. This includes
the warning for multiple cfgs on one item. We'll leave that as an error
for some period of time to ensure that all uses are updated before the
behavior changes from "or" to "and".
bors added a commit that referenced this pull request Oct 13, 2014
All deprecation warnings have been converted to errors. This includes
the warning for multiple cfgs on one item. We'll leave that as an error
for some period of time to ensure that all uses are updated before the
behavior changes from "or" to "and".
@bors bors closed this Oct 13, 2014
@bors bors merged commit aa3b126 into rust-lang:master Oct 13, 2014
@sfackler sfackler deleted the cfg-error branch November 26, 2016 05:54
lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 29, 2024
Always show error lifetime arguments as `'_`

Fixes rust-lang#17947

Changed error lifetime argument presentation in non-test environment to `'_` and now showing them even if all of args are error lifetimes.

This also influenced some of the other tests like `extract_function.rs`, `predicate.rs` and `type_pos.rs`. Not sure whether I need to refrain from adding lifetimes args there. Happy to fix if needed
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.

4 participants