Skip to content

Conversation

@flip1995
Copy link
Member

Fixes #3948
Fixes #3765

changelog: Fix debug_assert! false positive on assertions_on_constants lint

@flip1995 flip1995 changed the title Assert on const Don't trigger assertions_on_constants on debug_assert!(false) Apr 18, 2019
@flip1995 flip1995 added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 18, 2019
@phansch
Copy link
Contributor

phansch commented Apr 19, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Apr 19, 2019

📌 Commit 10cd289 has been approved by phansch

@bors
Copy link
Contributor

bors commented Apr 19, 2019

⌛ Testing commit 10cd289 with merge 12e8075...

bors added a commit that referenced this pull request Apr 19, 2019
Don't trigger assertions_on_constants on debug_assert!(false)

Fixes #3948
Fixes #3765

changelog: Fix `debug_assert!` false positive on `assertions_on_constants` lint
@bors
Copy link
Contributor

bors commented Apr 19, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: phansch
Pushing 12e8075 to master...

@bors bors merged commit 10cd289 into rust-lang:master Apr 19, 2019
@flip1995 flip1995 deleted the assert_on_const branch April 19, 2019 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties

Projects

None yet

Development

Successfully merging this pull request may close these issues.

assertion_on_constants: False positive on debug_assert!(false, ...) assertion_on_constants lint: false positive?

3 participants