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

Missing crown warning issued when running ./mach doc #31804

Closed
mrobinson opened this issue Mar 21, 2024 · 0 comments · Fixed by #31805
Closed

Missing crown warning issued when running ./mach doc #31804

mrobinson opened this issue Mar 21, 2024 · 0 comments · Fixed by #31805
Labels
C-untriaged New issues that haven't been triaged yet

Comments

@mrobinson
Copy link
Member

When running ./mach doc the only warning we have now is this one:

warning: unknown lint: `crown_is_not_used`
  --> components/script/lib.rs:11:9
   |
11 | #![deny(crown_is_not_used)]
   |         ^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> components/script/lib.rs:10:9
   |
10 | #![warn(unknown_lints)]
   |         ^^^^^^^^^^^^^

./mach doc should be able to run without warnings so that we can prevent future ones.

@mrobinson mrobinson added the C-untriaged New issues that haven't been triaged yet label Mar 21, 2024
mrobinson added a commit to mrobinson/servo that referenced this issue Mar 21, 2024
This is important because tools like clippy and rustdoc cannot use crown
and should not issue warnings.

Fixes servo#31804.
mrobinson added a commit to mrobinson/servo that referenced this issue Mar 21, 2024
mrobinson added a commit to mrobinson/servo that referenced this issue Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-untriaged New issues that haven't been triaged yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant