about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2025-01-08 16:38:25 -0800
committerCelina G. Val <celinval@amazon.com>2025-02-03 12:54:00 -0800
commit0a8331f681e6b82183947cf82b25566bfab3750e (patch)
tree49fedd67cf208ce30f054140da5a84fdbfafa8a5 /compiler/rustc_interface/src
parent111280125101ab0fd0219148c9a74c8bc3dc694e (diff)
downloadrust-0a8331f681e6b82183947cf82b25566bfab3750e.tar.gz
rust-0a8331f681e6b82183947cf82b25566bfab3750e.zip
Express contracts as part of function header and lower it to the contract lang items
includes post-developed commit: do not suggest internal-only keywords as corrections to parse failures.

includes post-developed commit: removed tabs that creeped in into rustfmt tool source code.

includes post-developed commit, placating rustfmt self dogfooding.

includes post-developed commit: add backquotes to prevent markdown checking from trying to treat an attr as a markdown hyperlink/

includes post-developed commit: fix lowering to keep contracts from being erroneously inherited by nested bodies (like closures).

Rebase Conflicts:
 - compiler/rustc_parse/src/parser/diagnostics.rs
 - compiler/rustc_parse/src/parser/item.rs
 - compiler/rustc_span/src/hygiene.rs

Remove contracts keywords from diagnostic messages
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions