about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-01-12 23:08:59 +0100
committerGitHub <noreply@github.com>2025-01-12 23:08:59 +0100
commitd8e88c97519e9655bfb00a1bcbf81330ca7b3d8f (patch)
treec777c2b2d5417b8787efd9064eaf74c12c9475af /compiler/rustc_codegen_llvm/src
parent834f57555f5a4ef85cc351ec6cb05a54dc75a5cf (diff)
parent7ece88a2d7795cb0beb719848a563c6870531632 (diff)
downloadrust-d8e88c97519e9655bfb00a1bcbf81330ca7b3d8f.tar.gz
rust-d8e88c97519e9655bfb00a1bcbf81330ca7b3d8f.zip
Rollup merge of #135406 - Aditya-PS-05:fix/unstable-lint-docs, r=compiler-errors
Update unstable lint docs to include required feature attributes

closes #135298

## Summary
This PR updates the documentation examples for the following unstable lints to ensure they include the necessary feature attributes for proper usage:

- fuzzy_provenance_casts
- lossy_provenance_casts
- unqualified_local_imports
- test_unstable_lint

## Changes Made:

- Added the appropriate #![feature(...)] attributes to the example code for each lint.
- Updated the examples to produce correct and meaningful warnings, ensuring they align with current lint behavior.

Reference:
- Used the `must_not_suspend` lint documentation as a template for these updates.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions