mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
b9db639ea5
Use backticks instead of single quotes for library feature names in diagnostics This PR changes the text of library feature errors for using unstable or body-unstable items. Displaying library feature names in backticks is consistent with other diagnostics (e.g. those from `rustc_passes`) and with the `reason`s on unstable attributes in the library. Additionally, this simplifies diagnostics when supporting multiple unstable attributes on items (see #131824) since `DiagSymbolList` also displays symbols using backticks. |
||
---|---|---|
.. | ||
codegen_fn_attrs.rs | ||
debugger_visualizer.rs | ||
dependency_format.rs | ||
exported_symbols.rs | ||
lang_items.rs | ||
limits.rs | ||
mod.rs | ||
privacy.rs | ||
region.rs | ||
resolve_bound_vars.rs | ||
stability.rs |