| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-04-12 | Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk | Matthias Krüger | -1/+0 | |
| Remove `..` from return type notation `@nikomatsakis` and I decided that using `..` in the return-type notation syntax is probably overkill. r? `@eholk` since you reviewed the last one Since this is piggybacking now totally off of a pre-existing syntax (parenthesized generics), let me know if you need any explanation of the logic here, since it's a bit more complicated now. | ||||
| 2023-04-10 | Remove `..` from return type notation | Michael Goulet | -1/+0 | |
| 2023-04-10 | Fix typos in compiler | DaniPopes | -1/+1 | |
| 2023-04-09 | Remove turbofish | Nilstrieb | -1/+1 | |
| 2023-04-09 | Some simple `clippy::perf` fixes | Nilstrieb | -1/+1 | |
| 2023-04-09 | Auto merge of #110041 - fmease:diag-sugg-adding-const-param, r=compiler-errors | bors | -2/+2 | |
| Suggest defining const parameter when appropriate Helps a bit with #91119. Following #105523's lead, I use placeholder `/* Type */` instead of `_` in the suggestion. It should be easier for newcomers to parse. `@rustbot` label A-diagnostics r? diagnostics | ||||
| 2023-04-07 | suggest adding const param | León Orell Valerian Liehr | -2/+2 | |
| 2023-04-07 | Use smart-resolve when checking for trait in RHS of UFCS | Michael Goulet | -2/+30 | |
| 2023-04-04 | Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem` | Oli Scherer | -1/+1 | |
| 2023-04-04 | box a bunch of large types | Oli Scherer | -4/+4 | |
| 2023-04-04 | Split out ast::ItemKind::Const into its own struct | Oli Scherer | -5/+5 | |
| 2023-04-04 | rust-analyzer guided tuple field to named field | Oli Scherer | -1/+2 | |
| 2023-04-04 | rust-analyzer guided enum variant structification | Oli Scherer | -1/+1 | |
| 2023-04-01 | fix clippy::iter_kv_map | Matthias Krüger | -2/+1 | |
| 2023-03-28 | Add `(..)` syntax for RTN | Michael Goulet | -0/+1 | |
| 2023-03-23 | rustdoc: Skip doc link resolution for non-exported items | Vadim Petrochenkov | -1/+4 | |
| 2023-03-22 | Remove comment about re-using Rib allocations | Lukas Wirth | -1/+0 | |
| 2023-03-17 | Do not ICE for unexpected lifetime with ConstGeneric rib | yukang | -2/+3 | |
| 2023-03-13 | resolve: Centralize retrieval of items span and item name | Vadim Petrochenkov | -1/+1 | |
| 2023-03-02 | rustc_middle: Remove trait `DefIdTree` | Vadim Petrochenkov | -3/+6 | |
| This trait was a way to generalize over both `TyCtxt` and `Resolver`, but now `Resolver` has access to `TyCtxt`, so this trait is no longer necessary. | ||||
| 2023-02-21 | Auto merge of #105462 - oli-obk:feeding_full, r=cjgillot,petrochenkov | bors | -17/+18 | |
| give the resolver access to TyCtxt The resolver is now created after TyCtxt is created. Then macro expansion and name resolution are run and the results fed into queries just like before this PR. Since the resolver had (before this PR) mutable access to the `CStore` and the source span table, these two datastructures are now behind a `RwLock`. To ensure that these are not mutated anymore after the resolver is done, a read lock to them is leaked right after the resolver finishes. ### PRs split out of this one and leading up to it: * https://github.com/rust-lang/rust/pull/105423 * https://github.com/rust-lang/rust/pull/105357 * https://github.com/rust-lang/rust/pull/105603 * https://github.com/rust-lang/rust/pull/106776 * https://github.com/rust-lang/rust/pull/106810 * https://github.com/rust-lang/rust/pull/106812 * https://github.com/rust-lang/rust/pull/108032 | ||||
| 2023-02-20 | Prepare for adding a `TyCtxt` to `Resolver` | Oli Scherer | -17/+18 | |
| 2023-02-20 | remove FIXME that doesn't require fixing | Deadbeef | -3/+3 | |
| 2023-02-19 | Rollup merge of #107951 - petrochenkov:procmacdoc, r=jackh726 | Dylan DPC | -1/+6 | |
| resolve: Fix doc links referring to other crates when documenting proc macro crates directly Fixes https://github.com/rust-lang/rust/issues/107950 | ||||
| 2023-02-16 | Make things actually work | Michael Goulet | -1/+7 | |
| 2023-02-16 | Rename some region-specific stuff | Michael Goulet | -2/+2 | |
| 2023-02-14 | Separate the lifetime of the session and the arena in the resolver | Oli Scherer | -14/+14 | |
| 2023-02-13 | resolve: Fix doc links referring to other crates when documenting proc macro ↵ | Vadim Petrochenkov | -1/+6 | |
| crates directly | ||||
| 2023-02-13 | rustdoc: Eliminate remaining uses of resolver | Vadim Petrochenkov | -5/+4 | |
| 2023-02-11 | Auto merge of #94857 - petrochenkov:doclink2, r=oli-obk | bors | -9/+182 | |
| Resolve documentation links in rustc and store the results in metadata This PR implements MCP https://github.com/rust-lang/compiler-team/issues/584. Doc links are now resolved in rustc and stored into metadata, so rustdoc simply retrieves them through a query (local or extern), Code that is no longer used is removed, and some code that no longer needs to be public is privatized. The removed code includes resolver cloning, so this PR fixes https://github.com/rust-lang/rust/issues/83761. | ||||
| 2023-02-10 | Skip doc link resolution for some crate types and non-exported items | Vadim Petrochenkov | -14/+65 | |
| 2023-02-10 | Stop resolving doc links on `mod` items twice | Vadim Petrochenkov | -2/+8 | |
| 2023-02-10 | Resolve documentation links in rustc and store the results in metadata | Vadim Petrochenkov | -6/+122 | |
| This commit implements MCP https://github.com/rust-lang/compiler-team/issues/584 It also removes code that is no longer used, and that includes code cloning resolver, so issue #83761 is fixed. | ||||
| 2023-02-09 | Introduce `ReError` | Esteban Küber | -1/+0 | |
| CC #69314 | ||||
| 2023-02-02 | Rename `rust_2015` => `is_rust_2015` | Maybe Waffle | -1/+1 | |
| 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-15 | Only suggest adding type param if path being resolved was a type | Michael Goulet | -1/+1 | |
| 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. | ||||
| 2022-12-29 | Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, ↵ | Matthias Krüger | -2/+2 | |
| 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 | -2/+2 | |
| 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-26 | Detect likely `.` -> `..` typo in method calls | Esteban Küber | -7/+25 | |
| Fix #65015. | ||||
| 2022-12-18 | higher-ranked lifetime message | Michael Goulet | -6/+21 | |
| 2022-12-13 | Rollup merge of #104864 - chenyukang:yukang/fix-104700-binding, r=estebank | Matthias Krüger | -1/+7 | |
| Account for item-local in inner scope for E0425 Fixes #104700 | ||||
| 2022-12-06 | Rollup merge of #105289 - Rageking8:fix-dupe-word-typos, r=cjgillot | Yuki Okushi | -1/+1 | |
| Fix dupe word typos | ||||
| 2022-12-05 | Rollup merge of #105230 - cjgillot:issue-104312, r=petrochenkov | Matthias Krüger | -1/+1 | |
| Skip recording resolution for duplicated generic params. Turns out the fix was simpler than I thought. Fixes https://github.com/rust-lang/rust/issues/104312 | ||||
| 2022-12-05 | fix dupe word typos | Rageking8 | -1/+1 | |
| 2022-12-04 | Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors | Matthias Krüger | -8/+20 | |
| Suggest to use . instead of :: when accessing a method of an object Fixes #101749 Fixes #101542 | ||||
