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

use if cfg! instead of #[cfg] #118993

Merged
merged 1 commit into from
Dec 16, 2023
Merged

use if cfg! instead of #[cfg] #118993

merged 1 commit into from
Dec 16, 2023

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Dec 15, 2023

this pr is specifically for waffle because i love it <3

fixes #118756 (comment)

r? @WaffleLapkin

this pr is specifically for waffle because i love it <3
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 15, 2023
@jyn514 jyn514 changed the title use if cfg instead of #[cfg] use if cfg! instead of #[cfg] Dec 15, 2023
@rustbot
Copy link
Collaborator

rustbot commented Dec 15, 2023

Could not assign reviewer from: WaffleLapkin.
User(s) WaffleLapkin are either the PR author, already assigned, or on vacation, and there are no other candidates.
Use r? to specify someone else to assign.

@Noratrieb
Copy link
Member

reviewed it together with @WaffleLapkin
@bors r=WaffleLapkin,Nilstrieb

@bors
Copy link
Contributor

bors commented Dec 15, 2023

📌 Commit 4845665 has been approved by WaffleLapkin,Nilstrieb

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 15, 2023
Copy link
Member

@WaffleLapkin WaffleLapkin left a comment

Choose a reason for hiding this comment

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

I love you too <3

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 16, 2023
…kingjubilee

Rollup of 6 pull requests

Successful merges:

 - rust-lang#118523 (Add ASCII whitespace trimming functions to `&str`)
 - rust-lang#118851 ([std] Add xcoff in object's feature list)
 - rust-lang#118989 (Simplify lint decorator derive too)
 - rust-lang#118993 (use `if cfg!` instead of `#[cfg]`)
 - rust-lang#119003 (NFC: do not clone types that are copy)
 - rust-lang#119004 (NFC don't convert types to identical types)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 30231d9 into rust-lang:master Dec 16, 2023
11 checks passed
@rustbot rustbot added this to the 1.76.0 milestone Dec 16, 2023
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Dec 16, 2023
Rollup merge of rust-lang#118993 - jyn514:cfg-color, r=WaffleLapkin,Nilstrieb

use `if cfg!` instead of `#[cfg]`

this pr is specifically for waffle because i love it <3

fixes rust-lang#118756 (comment)

r? `@WaffleLapkin`
@jyn514 jyn514 deleted the cfg-color branch December 16, 2023 13:24
jyn514 added a commit to jyn514/triagebot that referenced this pull request Dec 18, 2023
doing so leads to weird errors:

> Could not assign reviewer from: jyn514.
> User(s) jyn514 are either the PR author, already assigned, or on vacation, and there are no other candidates.
> Use r? to specify someone else to assign.

this was likely missed when transitioning from highfive to triagebot.

see rust-lang/rust#118993 for an example of a bug this fixes
jyn514 added a commit to jyn514/triagebot that referenced this pull request Dec 18, 2023
doing so leads to weird errors:

> Could not assign reviewer from: jyn514.
> User(s) jyn514 are either the PR author, already assigned, or on vacation, and there are no other candidates.
> Use r? to specify someone else to assign.

this was likely missed when transitioning from highfive to triagebot.

see rust-lang/rust#118993 for an example of a bug this fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants