| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -19/+23 | |
| 2023-11-17 | rename bound region instantiation | lcnr | -1/+1 | |
| - `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased` - `replace_late_bound_regions_X` -> `instantiate_bound_regions_X` | ||||
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -1/+1 | |
| 2023-11-14 | finish `RegionKind` rename | lcnr | -2/+2 | |
| - `ReFree` -> `ReLateParam` - `ReEarlyBound` -> `ReEarlyParam` | ||||
| 2023-11-13 | rename `ReLateBound` to `ReBound` | lcnr | -1/+1 | |
| other changes: - `Region::new_late_bound` -> `Region::new_bound` - `Region::is_late_bound` -> `Region::is_bound` | ||||
| 2023-11-03 | Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb | bors | -2/+1 | |
| `rustc_span` cleanups Just some things I found while looking over this crate. r? `@oli-obk` | ||||
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -100/+85 | |
| 2023-11-02 | Minimize `pub` usage in `source_map.rs`. | Nicholas Nethercote | -2/+1 | |
| Most notably, this commit changes the `pub use crate::*;` in that file to `use crate::*;`. This requires a lot of `use` items in other crates to be adjusted, because everything defined within `rustc_span::*` was also available via `rustc_span::source_map::*`, which is bizarre. The commit also removes `SourceMap::span_to_relative_line_string`, which is unused. | ||||
| 2023-10-05 | Add more diagnostic items for clippy | Jason Newcomb | -56/+38 | |
| 2023-09-25 | Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyup | Philipp Krones | -14/+7 | |
| 2023-08-24 | Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup | Philipp Krones | -6/+19 | |
| 2023-08-04 | Improve spans for indexing expressions | Nilstrieb | -1/+1 | |
| Indexing is similar to method calls in having an arbitrary left-hand-side and then something on the right, which is the main part of the expression. Method calls already have a span for that right part, but indexing does not. This means that long method chains that use indexing have really bad spans, especially when the indexing panics and that span in coverted into a panic location. This does the same thing as method calls for the AST and HIR, storing an extra span which is then put into the `fn_span` field in THIR. | ||||
| 2023-07-31 | Merge commit '5436dba826191964ac1d0dab534b7eb6d4c878f6' into clippyup | Philipp Krones | -0/+13 | |
| 2023-07-17 | Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup | Philipp Krones | -5/+9 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -7/+7 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -2/+2 | |
| 2023-07-02 | Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup | Philipp Krones | -35/+70 | |
| 2023-06-19 | s/Clause/ClauseKind | Michael Goulet | -2/+2 | |
| 2023-02-16 | Rename some region-specific stuff | Michael Goulet | -2/+2 | |
| 2023-02-10 | Merge commit '0f7558148c22e53cd4608773b56cdfa50dcdeac3' into clippyup | Philipp Krones | -1/+4 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -3/+3 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -3/+3 | |
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -5/+5 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-01 | Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup | Philipp Krones | -4/+5 | |
| 2022-11-27 | Auto merge of #104048 - cjgillot:split-lifetime, r=compiler-errors | bors | -12/+7 | |
| Separate lifetime ident from lifetime resolution in HIR Drive-by: change how suggested generic args are computed. Fixes https://github.com/rust-lang/rust/issues/103815 I recommend reviewing commit-by-commit. | ||||
| 2022-11-25 | Introduce PredicateKind::Clause | Santiago Pastorino | -2/+2 | |
| 2022-11-25 | Simplify a bunch of trait ref obligation creations | Oli Scherer | -2/+1 | |
| 2022-11-23 | Separate lifetime ident from resolution in HIR. | Camille GILLOT | -12/+7 | |
| 2022-11-21 | Stop passing the self-type as a separate argument. | Oli Scherer | -2/+2 | |
| 2022-11-21 | Rollup merge of #104595 - compiler-errors:poly-existential-predicate, r=lcnr | Matthias Krüger | -1/+1 | |
| Add `PolyExistentialPredicate` type alias Wrapping `ExistentialPredicate`s in a binder is very common, and this alias already exists for the `PolyExistential{TraitRef,Projection}` types. | ||||
| 2022-11-20 | Auto merge of #98914 - fee1-dead-contrib:min-deref-patterns, r=compiler-errors | bors | -1/+1 | |
| Minimal implementation of implicit deref patterns for Strings cc `@compiler-errors` `@BoxyUwU` https://github.com/rust-lang/lang-team/issues/88 #87121 ~~I forgot to add a feature gate, will do so in a minute~~ Done | ||||
| 2022-11-19 | drive-by: PolyExistentialPredicate | Michael Goulet | -1/+1 | |
| 2022-11-18 | Rm diagnostic item, use lang item | Deadbeef | -1/+1 | |
| 2022-11-16 | Convert predicates into Predicate in the Obligation constructor | Oli Scherer | -0/+1 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -4/+4 | |
| spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. | ||||
| 2022-10-23 | Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup | flip1995 | -7/+47 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -2/+2 | |
| 2022-09-09 | Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup | Philipp Krones | -2/+2 | |
| 2022-09-06 | Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillot | bors | -2/+2 | |
| `BindingAnnotation` refactor * `ast::BindingMode` is deleted and replaced with `hir::BindingAnnotation` (which is moved to `ast`) * `BindingAnnotation` is changed from an enum to a tuple struct e.g. `BindingAnnotation(ByRef::No, Mutability::Mut)` * Associated constants added for convenience `BindingAnnotation::{NONE, REF, MUT, REF_MUT}` One goal is to make it more clear that `BindingAnnotation` merely represents syntax `ref mut` and not the actual binding mode. This was especially confusing since we had `ast::BindingMode`->`hir::BindingAnnotation`->`thir::BindingMode`. I wish there were more symmetry between `ByRef` and `Mutability` (variant) naming (maybe `Mutable::Yes`?), and I also don't love how long the name `BindingAnnotation` is, but this seems like the best compromise. Ideas welcome. | ||||
| 2022-09-05 | separate the receiver from arguments in HIR under /clippy | Takayuki Maeda | -2/+5 | |
| 2022-09-02 | clippy: BindingAnnotation change | Cameron Steffen | -2/+2 | |
| 2022-07-26 | Replace LifetimeRes::Anonymous by LifetimeRes::Infer. | Camille GILLOT | -1/+1 | |
| 2022-07-18 | Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup | Philipp Krones | -1/+1 | |
| 2022-07-13 | Clippy fallout. | Camille GILLOT | -1/+2 | |
| 2022-06-30 | Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup | Philipp Krones | -23/+27 | |
| 2022-06-16 | Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup | flip1995 | -9/+13 | |
| 2022-06-03 | Manipulate lifetimes by LocalDefId for region resolution. | Camille GILLOT | -1/+1 | |
| 2022-05-23 | Lifetime variance fixes for clippy | Michael Goulet | -3/+3 | |
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -1/+1 | |
| 2022-05-05 | Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup | flip1995 | -36/+45 | |
