| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-02-16 | Move librustc/{traits,infer} to librustc_infer. | Camille GILLOT | -909/+0 | |
| 2020-02-11 | Run RustFmt | jumbatm | -2/+10 | |
| 2020-02-11 | Invert control in struct_lint_level. | jumbatm | -27/+29 | |
| Caller now passes in a `decorate` function, which is only run if the lint is allowed. | ||||
| 2020-02-08 | Make `associated_items` query return a slice | Jonas Schievink | -1/+5 | |
| 2020-02-03 | Change wording for object unsafe because of assoc const | Esteban Küber | -5/+3 | |
| 2020-02-02 | Point at reason in object unsafe trait with `Self` in supertraits or ↵ | Esteban Küber | -16/+38 | |
| `where`-clause | ||||
| 2020-02-02 | Use more appropriate spans on object unsafe traits and provide structured ↵ | Esteban Küber | -26/+77 | |
| suggestions when possible | ||||
| 2020-02-02 | Wording changes to object unsafe trait errors | Esteban Küber | -8/+45 | |
| Stemming from the thread at https://twitter.com/indygreg/status/1223279056398929920 | ||||
| 2020-02-02 | review comments | Esteban Küber | -3/+3 | |
| 2020-02-02 | Remove duplicated code | Esteban Küber | -8/+1 | |
| 2020-02-02 | Slight rewording of diagnostic message | Esteban Küber | -1/+1 | |
| 2020-02-02 | Point at the `Sized` obligation in `where` clauses | Esteban Küber | -4/+35 | |
| 2020-02-02 | Tweak `Self: Sized` restriction diagnostic output | Esteban Küber | -28/+35 | |
| 2020-02-02 | Point at `Sized` bound | Esteban Küber | -7/+33 | |
| 2020-01-20 | Add `ConstnessAnd` that implements `ToPredicate` | Dylan MacKenzie | -2/+4 | |
| 2020-01-20 | Add `constness` field to `ty::Predicate::Trait` | Dylan MacKenzie | -2/+2 | |
| 2020-01-11 | reduce diversity in linting methods | Mazdak Farrokhzad | -3/+4 | |
| 2020-01-11 | canonicalize some lint imports | Mazdak Farrokhzad | -3/+4 | |
| 2020-01-07 | Make ↵ | Camille GILLOT | -43/+41 | |
| rustc::traits::object_safety::{astconv_object_safety_violations,is_vtable_safe_method,object_safety_violations} free functions. | ||||
| 2020-01-07 | Remove private methods from TyCtxt impl block: rustc::trait::object_safety. | Camille GILLOT | -501/+508 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -1/+1 | |
| 2019-12-22 | Format the world | Mark Rousskov | -147/+137 | |
| 2019-10-26 | Update comments re type parameter hack in object safety | Michael Hewson | -5/+7 | |
| To check if a method's receiver type is object safe, we create a new receiver type by substituting in a bogus type parameter (let's call it `U`) for `Self`, and checking that the unmodified receiver type implements `DispatchFromDyn<receiver type with Self = U>`. It would be better to use `dyn Trait` directly, and the only reason we don't is because it triggers another check that `Trait` is object safe, resulting in a query cycle. Once the feature `object_safe_for_dispatch` (tracking issue https://github.com/rust-lang/rust/issues/43561) is stabilized, this will no longer be the case, and we'll be able to use `dyn Trait` as the unsized `Self` type. I've updated the comments in object_safety.rs accordingly. | ||||
| 2019-10-21 | Convert some `InternedString`s to `Symbols`. | Nicholas Nethercote | -2/+2 | |
| This avoids the needs for various conversions, and makes the code slightly faster, because `Symbol` comparisons and hashing is faster. | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -1/+1 | |
| 2019-09-07 | Aggregation of cosmetic changes made during work on REPL PRs: librustc | Alexander Regueiro | -11/+11 | |
| 2019-09-06 | Fixed grammar/style in error messages and reblessed tests. | Alexander Regueiro | -3/+4 | |
| 2019-09-03 | review comments | Esteban Küber | -1/+3 | |
| 2019-09-02 | account for DUMMY_SP and correct wording | Esteban Küber | -4/+4 | |
| 2019-09-02 | On object safety violation, point at source when possible | Esteban Küber | -21/+33 | |
| 2019-09-02 | Refer to "`self` type" instead of "receiver type" | Esteban Küber | -7/+9 | |
| 2019-08-18 | Pre intern the `Self` parameter type | Matthew Jasper | -34/+21 | |
| Use this to simplify the object safety code a bit. | ||||
| 2019-08-11 | Remove `is_self` and `has_self_ty` methods | Matthew Jasper | -63/+81 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -3/+1 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-12 | Fix fallout from `deny(unused_lifetimes)`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-12 | rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-05-26 | Rename "Associated*" to "Assoc*" | Andrew Xu | -10/+10 | |
| We are going to uniform the terminology of all associated items. Methods that may or may not have `self` are called "associated functions". Because `AssociatedFn` is a bit long, we rename `Associated` to `Assoc`. | ||||
| 2019-05-20 | Introduce `InternedString::intern`. | Nicholas Nethercote | -2/+3 | |
| `InternedString::intern(x)` is preferable to `Symbol::intern(x).as_interned_str()`, because the former involves one call to `with_interner` while the latter involves two. The case within InternedString::decode() is particularly hot, and this change reduces the number of `with_interner` calls by up to 13%. | ||||
| 2019-03-15 | rustc: rename item_path to def_path (except the module in ty). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-05 | Handle const generics elsewhere | varkor | -1/+2 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-02-27 | rename Substs to InternalSubsts | csmoe | -9/+13 | |
| Change-Id: I3fa00e999a2ee4eb72db1fdf53a8633b49176a18 | ||||
| 2019-02-24 | hir: remove NodeId from Block | ljedrz | -1/+2 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -19/+21 | |
| 2019-02-05 | move librustc to 2018 | Mark Mansi | -6/+6 | |
| 2019-01-11 | Auto merge of #57355 - arielb1:correct-subst, r=nikomatsakis | bors | -9/+24 | |
| use the correct supertrait substitution in `object_ty_for_trait` beta-nominating because regression. Fixes #57156. | ||||
