Describe the feature you'd like
The html! macro should output warnings. The developer should be able to ignore these warnings as they see fit.
These warnings should integrate into the compiler and work just as any other lint/warning would.
Is your feature request related to a problem? Please describe. (Optional)
Often it's easy to make mistakes based on
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context (Optional)
This is blocked on the diagnostics API of rustc becoming available in a stable release of Rust.
Implemented lints include:
Possible lints include:
Possible sources of inspiration for lints include:
Please feel free to suggest lint ideas below, or further updates on the status of the diagnostics API.
Describe the feature you'd like
The
html!macro should output warnings. The developer should be able to ignore these warnings as they see fit.These warnings should integrate into the compiler and work just as any other lint/warning would.
Is your feature request related to a problem? Please describe. (Optional)
Often it's easy to make mistakes based on
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context (Optional)
This is blocked on the diagnostics API of rustc becoming available in a stable release of Rust.
Implemented lints include:
<a>tags have ahrefattribute (this is to enable screen readers to work on websites).<img>tags have analtattribute (this is to enable screen readers to work on websites).Possible lints include:
Possible sources of inspiration for lints include:
Please feel free to suggest lint ideas below, or further updates on the status of the diagnostics API.