| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-31 | Rollup merge of #107508 - WaffleLapkin:uneq'15, r=oli-obk | Guillaume Gomez | -3/+2 | |
| `Edition` micro refactor r? ``@oli-obk`` | ||||
| 2023-01-31 | Don't do `.edition().rust_*()` | Maybe Waffle | -1/+1 | |
| 2023-01-31 | Use `Edition` methods a bit more | Maybe Waffle | -3/+2 | |
| 2023-01-30 | Replace enum `==`s with `match`es where it makes sense | Maybe Waffle | -14/+15 | |
| 2023-01-25 | suggest qualifying bare associated constants | Andy Russell | -5/+12 | |
| 2023-01-22 | Auto merge of #107185 - compiler-errors:rollup-wkomjma, r=compiler-errors | bors | -3/+19 | |
| Rollup of 8 pull requests Successful merges: - #103418 (Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report) - #106113 (llvm-wrapper: adapt for LLVM API change) - #106144 (Improve the documentation of `black_box`) - #106578 (Label closure captures/generator locals that make opaque types recursive) - #106749 (Update cc to 1.0.77) - #106935 (Fix `SingleUseLifetime` ICE) - #107015 (Re-enable building rust-analyzer on riscv64) - #107029 (Add new bootstrap members to triagebot.toml) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-01-21 | Rollup merge of #106935 - TaKO8Ki:fix-104440, r=cjgillot | Michael Goulet | -3/+19 | |
| Fix `SingleUseLifetime` ICE Fixes #104440 cc: ``@matthiaskrgr`` | ||||
| 2023-01-22 | Auto merge of #107133 - pnkfelix:revert-pr-84022-for-issue-106337, ↵ | bors | -13/+70 | |
| r=Mark-Simulacrum Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" This reverts commit 7d82cadd97acc66993b69304c5a1a04ef7d1fa36 aka PR #84022 I am doing this to buy us some time with respect to issue #106337 w.r.t. the 1.67 release. | ||||
| 2023-01-21 | Auto merge of #106977 - michaelwoerister:unord_id_collections, r=oli-obk | bors | -5/+5 | |
| Use UnordMap and UnordSet for id collections (DefIdMap, LocalDefIdMap, etc) This PR changes the `rustc_data_structures::define_id_collections!` macro to use `UnordMap` and `UnordSet` instead of `FxHashMap` and `FxHashSet`. This should account for a large portion of hash-maps being used in places where they can cause trouble. The changes required are moderate but non-zero: - In some places the collections are extracted into sorted vecs. - There are a few instances where for-loops have been changed to extends. ~~Let's see what the performance impact is. With a bit more refactoring, we might be able to get rid of some of the additional sorting -- but the change set is already big enough. Unless there's a performance impact, I'd like to do further changes in subsequent PRs.~~ Performance does not seem to be negatively affected ([perf-run here](https://github.com/rust-lang/rust/pull/106977#issuecomment-1396776699)). Part of [MCP 533](https://github.com/rust-lang/compiler-team/issues/533). r? `@ghost` | ||||
| 2023-01-20 | Revert "Make PROC_MACRO_DERIVE_RESOLUTION_FALLBACK a hard error" | Felix S. Klock II | -13/+70 | |
| This reverts commit 7d82cadd97acc66993b69304c5a1a04ef7d1fa36. I am doing this to buy us some time with respect to issue #106337 w.r.t. the 1.67 release. | ||||
| 2023-01-20 | diagnostics: remvoe unnecessary use of `source_map.start_point` | Michael Howell | -1/+1 | |
| 2023-01-20 | diagnostics: use `module_path` to check crate import instead of strings | Michael Howell | -20/+4 | |
| 2023-01-20 | diagnostics: add `};` only if `{` was added too | Michael Howell | -5/+5 | |
| 2023-01-20 | diagnostics: suggest changing `s@self::{macro}@::macro` for exported | Michael Howell | -1/+29 | |
| Fixes #99695 | ||||
| 2023-01-19 | Use UnordMap instead of FxHashMap in define_id_collections!(). | Michael Woerister | -5/+5 | |
| 2023-01-17 | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726 | Matthias Krüger | -6/+6 | |
| Remove double spaces after dots in comments Most of the comments do not have double spaces, so I assume these are typos. | ||||
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -6/+6 | |
| 2023-01-17 | note -> help | Michael Goulet | -1/+1 | |
| 2023-01-17 | Fix use suggestion span | Michael Goulet | -7/+9 | |
| 2023-01-16 | fix #104440 | Takayuki Maeda | -3/+19 | |
| 2023-01-15 | Only suggest adding type param if path being resolved was a type | Michael Goulet | -1/+1 | |
| 2023-01-13 | Rollup merge of #106813 - oli-obk:sess_cleanup, r=GuillaumeGomez,petrochenkov | Matthias Krüger | -1/+5 | |
| Remove redundant session field There was already a session available in the resolver, so we access that session. | ||||
| 2023-01-13 | Remove redundant session field | Oli Scherer | -1/+5 | |
| 2023-01-12 | Don't suggest dyn as parameter to add | Michael Goulet | -1/+5 | |
| 2023-01-12 | Render missing generics suggestion verbosely | Michael Goulet | -1/+1 | |
| 2023-01-11 | review comments: Tweak output | Esteban Küber | -14/+29 | |
| * Account for `struct S(pub(super)Ty);` in suggestion * Suggest changing field visibility in E0603 too | ||||
| 2023-01-11 | review comment | Esteban Küber | -1/+1 | |
| 2023-01-11 | Suggest making private tuple struct field public | Esteban Küber | -0/+27 | |
| Fix #52144. | ||||
| 2023-01-11 | Change `src/test` to `tests` in source files, fix tidy and tests | Albert Larsan | -1/+1 | |
| 2023-01-10 | Rollup merge of #106175 - compiler-errors:bad-import-sugg, r=oli-obk | Yuki Okushi | -29/+65 | |
| Fix bad import suggestion with nested `use` tree Fixes #105566 Fixes #105373 Ideally, we'd find some way to turn these into structured suggestions -- perhaps on a separate line as a different `use` statement, but I have no idea how to access the span for the whole `use` from this point in the import resolution code. | ||||
| 2023-01-09 | review comment | Michael Goulet | -8/+13 | |
| 2023-01-07 | Rollup merge of #105859 - compiler-errors:hr-lifetime-add, r=davidtwco | Matthias Krüger | -6/+21 | |
| Point out span where we could introduce higher-ranked lifetime Somewhat addresses #105422, but not really. We don't have that much useful information here since we're still in resolution :^( Maybe this suggestion isn't worth it. If the reviewer has an idea how we can get a more succinct binder information for a structured suggestion, it would be appreciated. | ||||
| 2023-01-04 | Simplify some iterator combinators | Michael Goulet | -5/+4 | |
| 2022-12-29 | Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, ↵ | Matthias Krüger | -4/+4 | |
| r=compiler-errors Rename `Rptr` to `Ref` in AST and HIR The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -4/+4 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-27 | Make resolve suggestion more generic | Esteban Küber | -1/+1 | |
| 2022-12-27 | review comments: make suggestion more accurate | Esteban Küber | -2/+10 | |
| 2022-12-27 | Fix some totally useless suggestions | Michael Goulet | -1/+1 | |
| 2022-12-27 | Dont clobber `as ..` rename in import suggestion | Michael Goulet | -3/+12 | |
| 2022-12-27 | Note alternative import candidates in nested use tree | Michael Goulet | -11/+23 | |
| 2022-12-27 | Suppress suggestions for nested use tree | Michael Goulet | -17/+27 | |
| 2022-12-26 | Detect likely `.` -> `..` typo in method calls | Esteban Küber | -7/+25 | |
| Fix #65015. | ||||
| 2022-12-22 | Rollup merge of #105769 - lyming2007:issue-105177-fix, r=eholk | Matthias Krüger | -2/+24 | |
| add function to tell the identical errors for ambiguity_errors if 2 errors of the kind and ident and span of the ident, b1, b2 and misc1 misc2 are the same we call these 2 ambiguity errors identical prevent identical ambiguity error from pushing into vector of ambiguity_errors this will fix #105177 | ||||
| 2022-12-21 | Change comment to doc comment | Eric Holk | -1/+1 | |
| 2022-12-19 | add function to tell if the current ambiguity error matches a previous one ↵ | Yiming Lei | -2/+24 | |
| in ambiguity_errors if 2 errors of the kind and ident and span of the ident, b1, b2 and misc1 misc2 are the same then these 2 ambiguity errors matched prevent identical ambiguity error from pushing into vector of ambiguity_errors this will fix #105177 | ||||
| 2022-12-18 | Rollup merge of #105873 - matthiaskrgr:clippy_fmt, r=Nilstrieb | Matthias Krüger | -6/+2 | |
| use &str / String literals instead of format!() | ||||
| 2022-12-18 | Rollup merge of #105869 - matthiaskrgr:clone_on_copy, r=compiler-errors | Matthias Krüger | -1/+1 | |
| don't clone Copy types | ||||
| 2022-12-18 | don't restuct references just to reborrow | Matthias Krüger | -1/+1 | |
| 2022-12-18 | use &str / String literals instead of format!() | Matthias Krüger | -6/+2 | |
| 2022-12-18 | don't clone Copy types | Matthias Krüger | -1/+1 | |
