diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-03-07 21:57:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-07 21:57:52 -0500 |
| commit | a29e3af87d987000b9d8b9c72750aeca0df352c7 (patch) | |
| tree | a4994485b24e94676de21af6dba931de86218925 /compiler/rustc_errors/src/snippet.rs | |
| parent | f1051ed6f105e73a7fff34a472ced9cf19c93f96 (diff) | |
| parent | e07d9a8200bc37e3cd816386d35931f9f02e9464 (diff) | |
| download | rust-a29e3af87d987000b9d8b9c72750aeca0df352c7.tar.gz rust-a29e3af87d987000b9d8b9c72750aeca0df352c7.zip | |
Rollup merge of #138033 - obi1kenobi:pg/json-attrs-tests, r=aDotInTheVoid
rustdoc: Add attribute-related tests for rustdoc JSON. Add rustdoc JSON tests covering the use of the following attributes: - `#[non_exhaustive]` applied to enums, variants, and structs - `#[must_use]`, both with and without a message - `#[no_mangle]`, in both edition 2021 and 2024 (`#[unsafe(no_mangle)]`) flavors - `#[export_name]`, also in both edition 2021 and 2024 flavors Related to #137645; this is a subset of the attributes that `cargo-semver-checks` relies on and tests in its own test suite or in the test suites of its components such as `trustfall-rustdoc-adapter`. Helps with #81359 r? `@aDotInTheVoid`
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
