Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
rust
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
1.5k
(1.5k)
Actions
Projects
Security and quality
6
(6)
Insights
More
items
Permit attributes on 'if' expressions
- #69201
#69201
Merged
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Aaron1011:feature/permit-if-attr
Aaron1011/rust:feature/permit-if-attr
Copy head branch name to clipboard
Mar 9, 2020
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Permit attributes on 'if' expressions
#69201
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Aaron1011:feature/permit-if-attr
Aaron1011/rust:feature/permit-if-attr
Copy head branch name to clipboard
Commits
Commits on Mar 4, 2020
Permit attributes on 'if' expressions
Show description for f63b88c
Aaron1011
committed
f63b88c
View commit details
Copy full SHA for f63b88c
Browse repository at this point
Test #[allow(unused)] on `if` expression
Aaron1011
committed
e912d9d
View commit details
Copy full SHA for e912d9d
Browse repository at this point
Test that stmt_expr_attrs properly gates if-attrs
Aaron1011
committed
e9ec47b
View commit details
Copy full SHA for e9ec47b
Browse repository at this point
Test trying to cfg-remove an `if` expression
Aaron1011
committed
9a299e4
View commit details
Copy full SHA for 9a299e4
Browse repository at this point
Remove recovery test
Aaron1011
committed
b00f674
View commit details
Copy full SHA for b00f674
Browse repository at this point
Add run-pass test suggested by @joshtriplett
Aaron1011
committed
e11cdfd
View commit details
Copy full SHA for e11cdfd
Browse repository at this point
Move if-attr tests to their own directory
Aaron1011
committed
7f19358
View commit details
Copy full SHA for 7f19358
Browse repository at this point
Test that cfg-gated if-exprs are not type-checked
Aaron1011
committed
1b681d6
View commit details
Copy full SHA for 1b681d6
Browse repository at this point
Extent pretty-print test
Aaron1011
committed
37c2c38
View commit details
Copy full SHA for 37c2c38
Browse repository at this point
Fix tabs
Aaron1011
committed
66b152c
View commit details
Copy full SHA for 66b152c
Browse repository at this point
Update stderr
Aaron1011
committed
e50fd5a
View commit details
Copy full SHA for e50fd5a
Browse repository at this point
You can’t perform that action at this time.