about summary refs log tree commit diff
path: root/tests/ui/tool-attributes
AgeCommit message (Collapse)AuthorLines
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature ↵mejrs-3/+5
checking
2025-04-04Do not visit whole crate to compute `lints_that_dont_need_to_run`.Camille GILLOT-2/+22
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-4/+5
2025-03-17Document `#![register_tool]`jyn-0/+24
2025-01-24Reword "crate not found" resolve messageEsteban Küber-3/+3
``` error[E0432]: unresolved import `some_novel_crate` --> file.rs:1:5 | 1 | use some_novel_crate::Type; | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `some_novel_crate` ``` On resolve errors where there might be a missing crate, mention `cargo add foo`: ``` error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nope` --> $DIR/conflicting-impl-with-err.rs:4:11 | LL | impl From<nope::Thing> for Error { | ^^^^ use of unresolved module or unlinked crate `nope` | = help: if you wanted to use a crate named `nope`, use `cargo add nope` to add it to your `Cargo.toml` ```
2024-12-23Always run tail_expr_drop_order lint on promoted MIRMichael Goulet-3/+13
2024-07-10Fix diagnostic and add a test for itMichael Goulet-0/+14
2024-06-21Fix remaining casesMichael Goulet-4/+4
2024-05-20Move 100 entries from tests/ui into subdirsJubilee Young-0/+112
- Move super-fast-paren-parsing test into ui/parser - Move stmt_expr_attrs test into ui/feature-gates - Move macro tests into ui/macros - Move global_asm tests into ui/asm - Move env tests into ui/process - Move xcrate tests into ui/cross-crate - Move unop tests into ui/unop - Move backtrace tests into ui/backtrace - Move check-static tests into ui/statics - Move expr tests into ui/expr - Move optimization fuel tests into ui/fuel - Move ffi attribute tests into ui/ffi-attrs - Move suggestion tests into ui/suggestions - Move main tests into ui/fn-main - Move lint tests into ui/lint - Move repr tests into ui/repr - Move intrinsics tests into ui/intrinsics - Move tool lint tests into ui/tool-attributes - Move return tests into ui/return - Move pattern tests into ui/patttern - Move range tests into ui/range - Move foreign-fn tests into ui/foreign - Move orphan-check tests into ui/coherence - Move inference tests into ui/inference - Reduce ROOT_ENTRY_LIMIT
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-6/+6
2024-01-13Bless testsGeorge-lewis-0/+1
Update tests
2023-11-24Show number in error message even for one errorNilstrieb-2/+2
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+2
2023-04-07Rewrite added diagnostics as translatableTom Martin-2/+2
Start messages with lowercase
2023-04-01BlessTom Martin-4/+6
2023-03-30Update non-derive macro error message to match suggestionTom Martin-6/+6
It's now split between two errors, one to remove the invalid derive macro and one suggesting adding a new non-derive macro
2023-03-26Add suggestion to remove derive() if invoked macro is non-deriveTom Martin-0/+6
2023-02-26Merge the two diagnostics.Camille GILLOT-2/+4
2023-02-23Fix ICE in 'duplicate diagnostic item' diagnosticclubby789-0/+31
2023-01-11Move /src/test to /testsAlbert Larsan-0/+130