rust/compiler/rustc_ast/src
bors 327e6cf55c Auto merge of #114452 - weiznich:feature/diagnostic_on_unimplemented, r=compiler-errors
`#[diagnostic::on_unimplemented]` without filters

This commit adds support for a `#[diagnostic::on_unimplemented]` attribute with the following options:

* `message` to customize the primary error message
* `note` to add a customized note message to an error message
* `label` to customize the label part of the error message

The relevant behavior is specified in [RFC-3366](https://rust-lang.github.io/rfcs/3366-diagnostic-attribute-namespace.html)
2023-09-17 10:00:15 +00:00
..
attr #[diagnostic::on_unimplemented] without filters 2023-09-12 20:03:18 +02:00
expand Generate better function argument names in global_allocator expansion 2023-08-06 07:36:05 -07:00
util Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
ast_traits.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
ast.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
entry.rs Fixup missing renames from #[main] to #[rustc_main] 2022-06-22 18:24:09 +02:00
format.rs get auto traits for parallel rustc 2023-08-02 16:21:45 +08:00
lib.rs make rustc compilable 2023-04-16 07:25:13 +00:00
mut_visit.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00
node_id.rs Various minor Idx-related tweaks 2023-04-16 02:42:50 -07:00
ptr.rs make rustc compilable 2023-04-16 07:25:13 +00:00
token.rs Parse unnamed fields and anonymous structs or unions 2023-08-24 11:17:54 +08:00
tokenstream.rs improve AttrTokenStream 2023-09-04 20:07:28 +08:00
visit.rs Move let expression checking to parsing 2023-09-11 15:51:18 +00:00