Skip to content

Uplift temporary-cstring-as-ptr lint from clippy into rustc#75671

Merged
bors merged 13 commits intorust-lang:masterfrom
nathanwhit:cstring-temp-lint
Oct 28, 2020
Merged

Uplift temporary-cstring-as-ptr lint from clippy into rustc#75671
bors merged 13 commits intorust-lang:masterfrom
nathanwhit:cstring-temp-lint

Conversation

@nathanwhit
Copy link
Contributor

The general consensus seems to be that this lint covers a common enough mistake to warrant inclusion in rustc.
The diagnostic message might need some tweaking, as I'm not sure the use of second-person perspective matches the rest of rustc, but I'd like to hear others' thoughts on that.

(cc #53224).

r? @oli-obk

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. merged-by-bors This PR was explicitly merged by bors. 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.