rust/compiler/rustc_interface/src
bors c0e32983f5 Auto merge of #127543 - carbotaniuman:more_unsafe_attr_verification, r=estebank,traviscross
More unsafe attr verification

This code denies unsafe on attributes such as `#[test]` and `#[ignore]`, while also changing the `MetaItem` parsing so `unsafe` in args like `#[allow(unsafe(dead_code))]` is not accidentally allowed.

Tracking:

- https://github.com/rust-lang/rust/issues/123757
2024-08-01 10:40:45 +00:00
..
callbacks.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
interface.rs Add toggle for parse_meta_item unsafe parsing 2024-07-30 18:28:43 -05:00
lib.rs Move codegen_and_build_linker from Queries to Linker 2024-07-01 11:00:49 +00:00
passes.rs Structured suggestion for extern crate foo when foo isn't resolved in import 2024-07-29 23:49:51 +00:00
proc_macro_decls.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
queries.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
util.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00