Skip to content

Use workspace-level lints#3

Merged
newpavlov merged 2 commits into
masterfrom
lints
May 15, 2026
Merged

Use workspace-level lints#3
newpavlov merged 2 commits into
masterfrom
lints

Conversation

@newpavlov

Copy link
Copy Markdown
Member

No description provided.

@newpavlov

newpavlov commented May 15, 2026

Copy link
Copy Markdown
Member Author

@tarcieri
WDYT should we keep #![forbid(unsafe_code)] in each crate or move it to the workspace?

Also note that I removed the doc_markdown lint since it was causing a fair number of false positives.

@newpavlov newpavlov merged commit f79d211 into master May 15, 2026
45 checks passed
@newpavlov newpavlov deleted the lints branch May 15, 2026 16:57
@tarcieri

Copy link
Copy Markdown
Member

I've moved unsafe_code = "forbid" to Cargo.toml in repos where it makes sense. Also removed doc_markdown in other places, though in some cases it's found legitimate problems.

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.

2 participants