rust/compiler/rustc_ast/src
Matthias Krüger 9d733eca06
Rollup merge of #138767 - clubby789:check-cfg-bool, r=Urgau
Allow boolean literals in `check-cfg`

https://github.com/rust-lang/rust/pull/138632#issuecomment-2738114495
This makes it consistent with `--cfg`

We could alternatively add a forward-compatible lint against `--cfg true/false`
r? `@Urgau`
2025-04-03 21:18:30 +02:00
..
attr Allow boolean literals in check-cfg 2025-04-03 09:54:23 +00:00
expand clean up autodiff code/comments 2025-02-21 21:47:48 -05:00
util Tighten up assignment operator representations. 2025-04-03 10:23:03 +11:00
ast_traits.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
ast.rs Tighten up assignment operator representations. 2025-04-03 10:23:03 +11:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
format.rs Limit formatting width and precision to 16 bits. 2025-03-10 12:20:05 +01:00
lib.rs Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgr 2025-03-12 17:27:43 +00:00
mut_visit.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Convert some Into impls into From impls 2024-12-31 01:56:33 +00:00
token.rs Remove Token::uninterpolated_span. 2025-04-02 06:21:16 +11:00
tokenstream.rs Fix a problem with metavars and inner attributes. 2025-04-02 06:21:18 +11:00
visit.rs Move ast::Item::ident into ast::ItemKind. 2025-04-01 14:08:57 +11:00