| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-21 | remove support for the #[start] attribute | Ralf Jung | -23/+28 | |
| 2024-12-27 | Remove the `-test` suffix from normalize directives | Zalathar | -1/+1 | |
| 2024-12-08 | Move `assoc-lang-items.rs` to `tests/ui/lang-items/` | 许杰友 Jieyou Xu (Joe) | -0/+62 | |
| 2024-07-25 | Let InstCombine remove Clone shims inside Clone shims | Ben Kimock | -41/+0 | |
| Co-authored-by: scottmcm <scottmcm@users.noreply.github.com> | ||||
| 2024-07-11 | Always use a colon in `//@ normalize-*:` headers | Zalathar | -1/+1 | |
| 2024-07-06 | show unit output when there is only output diff in diagnostics | yukang | -1/+1 | |
| 2024-04-17 | consistency rename: language item -> lang item | Ralf Jung | -25/+25 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -9/+9 | |
| 2024-02-04 | Rollup merge of #120556 - fmease:improve-unused-generic-param-diags, r=oli-obk | Matthias Krüger | -6/+6 | |
| Improve the diagnostics for unused generic parameters * Don't emit two errors (namely E0091 *and* E0392) for unused type parameters on *lazy* type aliases * Fix the diagnostic help message of E0392 for *lazy* type aliases: Don't talk about the “fields” of lazy type aliases (use the term “body” instead) and don't suggest `PhantomData` for them, it doesn't make much sense * Consolidate the diagnostics for E0091 (unused type parameters in type aliases) and E0392 (unused generic parameters due to bivariance) and make it translatable * Still keep the error codes distinct (for now) * Naturally leads to better diagnostics for E0091 r? ```@oli-obk``` (to ballast your review load :P) or compiler | ||||
| 2024-02-01 | Improve the diagnostics for unused generic parameters | León Orell Valerian Liehr | -6/+6 | |
| 2024-01-31 | Rollup merge of #120472 - Nilstrieb:die, r=compiler-errors | Nadrieril | -0/+23 | |
| Make duplicate lang items fatal Prevents terminal spam. | ||||
| 2024-01-29 | Remove some unnecessary check logic for lang items in HIR typeck | Michael Goulet | -284/+0 | |
| 2024-01-29 | Add test for duplicate lang items | Nilstrieb | -0/+23 | |
| 2024-01-13 | Bless tests | George-lewis | -0/+2 | |
| Update tests | ||||
| 2024-01-10 | Stop mentioning internal lang items in no_std binary errors | Nilstrieb | -5/+8 | |
| When writing a no_std binary, you'll be greeted with nonsensical errors mentioning lang items like eh_personality and start. That's pretty bad because it makes you think that you need to define them somewhere! But oh no, now you're getting the `internal_features` lint telling you that you shouldn't use them! But you need a no_std binary! What now? No problem! Writing a no_std binary is super easy. Just use panic=abort and supply your own platform specific entrypoint symbol (like `main`) and you're good to go. Would be nice if the compiler told you that, right? This makes it so that it does do that. | ||||
| 2024-01-09 | Avoid silencing relevant follow-up errors | Oli Scherer | -4/+3 | |
| 2023-12-15 | Collect lang items from AST | Michael Goulet | -4/+36 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -19/+19 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-10-18 | Tweak wording of type errors involving type params | Esteban Küber | -1/+1 | |
| Fix #78206. | ||||
| 2023-10-04 | Point to where missing return type should go | Michael Goulet | -2/+2 | |
| 2023-09-22 | Auto merge of #115910 - eduardosm:lang-fns-target-features, r=cjgillot | bors | -0/+30 | |
| Prevent using `#[target_feature]` on lang item functions Fixes https://github.com/rust-lang/rust/issues/109411 and also prevents from using `#[target_feature]` on other `fn` lang items to mitigate the concerns from https://github.com/rust-lang/rust/issues/109411#issuecomment-1477030273. | ||||
| 2023-09-19 | rustc_hir_analysis: add a helper to check function the signature mismatches | Eduardo Sánchez Muñoz | -55/+81 | |
| This function is now used to check `#[panic_handler]`, `start` lang item, `main`, `#[start]` and intrinsic functions. The diagnosis produced are now closer to the ones produced by trait/impl method signature mismatch. | ||||
| 2023-09-18 | Prevent using `#[target_feature]` on lang item functions | Eduardo Sánchez Muñoz | -0/+30 | |
| 2023-03-12 | Remove uses of `box_syntax` in rustc and tools | clubby789 | -20/+0 | |
| 2023-02-16 | Add ICE test for bad Add::add impl item type | Michael Goulet | -0/+29 | |
| 2023-02-16 | Tweak wording | Michael Goulet | -19/+28 | |
| 2023-02-16 | Move call trait lang item malformed check to typeck | Michael Goulet | -20/+163 | |
| 2023-01-31 | Do not depend on Generator trait when deducing closure signature | Michael Goulet | -36/+0 | |
| 2023-01-11 | add checks for the signature of the lang item | asquared31415 | -0/+227 | |
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+487 | |
