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

Implementation for lint check #1285

Open
3 tasks
thomasyonug opened this issue May 29, 2022 · 1 comment
Open
3 tasks

Implementation for lint check #1285

thomasyonug opened this issue May 29, 2022 · 1 comment
Assignees

Comments

@thomasyonug
Copy link
Member

I noticed that builtin lint check macro is still missing. An example for lint check.

#[allow(dead_code)]
fn foo() {}

There are features in lint check:

  • allow, deny, forbid, warn
  • lint group
  • tool lint

It'll be easier to implement this if I get some suggestions from you guys.

@CohenArthur
Copy link
Member

This is a great! It's interesting that they're not part of the list of builtin macros. They are implemented in the rustc_lint_defs crate in rustc. I think there might be a reason as to why they're not regular builtins but I haven't looked into it yet. Maybe we can implement them as regular builtins?

@CohenArthur CohenArthur added this to the Imports and visibility milestone May 30, 2022
@philberty philberty removed this from the Imports and visibility milestone Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants