| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-10-21 | Make `ty::print::Printer` take `&mut self` instead of `self` | Nilstrieb | -3/+3 | |
| This simplifies the code by removing all the `self` assignments and makes the flow of data clearer - always into the printer. Especially in v0 mangling, which already used `&mut self` in some places, it gets a lot more uniform. | ||||
| 2023-10-20 | s/generator/coroutine/ | Oli Scherer | -6/+6 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -1/+1 | |
| 2023-10-17 | Automatically enable cross-crate inlining for small functions | Ben Kimock | -5/+4 | |
| 2023-10-02 | `skip_binder` to `instantiate_identity` | lcnr | -2/+7 | |
| 2023-09-26 | subst -> instantiate | lcnr | -6/+6 | |
| 2023-09-18 | Remove unused `Lift` derives. | Nicholas Nethercote | -0/+3 | |
| I found these by commenting out all `Lift` derives and then adding back the ones that were necessary to successfully compile. | ||||
| 2023-09-14 | treat host effect params as erased generics in codegen | Deadbeef | -1/+2 | |
| This fixes the changes brought to codegen tests when effect params are added to libcore, by not attempting to monomorphize functions that get the host param by being `const fn`. | ||||
| 2023-07-30 | inline format!() args up to and including rustc_middle | Matthias Krüger | -9/+7 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -81/+81 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -3/+3 | |
| 2023-07-05 | Winnow specializing impls | Michael Goulet | -2/+2 | |
| 2023-06-05 | cleanup some skip_binder -> subst_identity | Kyle Matsuda | -1/+1 | |
| 2023-05-24 | Use `Option::is_some_and` and `Result::is_ok_and` in the compiler | Maybe Waffle | -1/+1 | |
| 2023-05-06 | changes from review: add FIXME to clippy and change subst_identity to ↵ | Kyle Matsuda | -3/+3 | |
| skip_binder in mir subst methods | ||||
| 2023-05-06 | make subst_mir take EarlyBinder | Kyle Matsuda | -3/+4 | |
| 2023-05-06 | use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regions | Kyle Matsuda | -6/+6 | |
| 2023-05-06 | make (try_)subst_and_normalize_erasing_regions take EarlyBinder | Kyle Matsuda | -3/+3 | |
| 2023-05-06 | More robust debug assertions for `Instance::resolve` on built-in traits with ↵ | Michael Goulet | -1/+1 | |
| custom items | ||||
| 2023-04-20 | Remove WithOptconstParam. | Camille GILLOT | -74/+28 | |
| 2023-03-29 | Support TLS access into dylibs on Windows | John Kåre Alsaker | -1/+16 | |
| 2023-03-27 | Add a builtin `FnPtr` trait | lcnr | -3/+15 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -1/+5 | |
| 2023-03-18 | Implement FixedSizeEncoding for UnusedGenericParams. | Camille GILLOT | -0/+14 | |
| 2023-02-24 | Rename many interner functions. | Nicholas Nethercote | -1/+1 | |
| (This is a large commit. The changes to `compiler/rustc_middle/src/ty/context.rs` are the most important ones.) The current naming scheme is a mess, with a mix of `_intern_`, `intern_` and `mk_` prefixes, with little consistency. In particular, in many cases it's easy to use an iterator interner when a (preferable) slice interner is available. The guiding principles of the new naming system: - No `_intern_` prefixes. - The `intern_` prefix is for internal operations. - The `mk_` prefix is for external operations. - For cases where there is a slice interner and an iterator interner, the former is `mk_foo` and the latter is `mk_foo_from_iter`. Also, `slice_interners!` and `direct_interners!` can now be `pub` or non-`pub`, which helps enforce the internal/external operations division. It's not perfect, but I think it's a clear improvement. The following lists show everything that was renamed. slice_interners - const_list - mk_const_list -> mk_const_list_from_iter - intern_const_list -> mk_const_list - substs - mk_substs -> mk_substs_from_iter - intern_substs -> mk_substs - check_substs -> check_and_mk_substs (this is a weird one) - canonical_var_infos - intern_canonical_var_infos -> mk_canonical_var_infos - poly_existential_predicates - mk_poly_existential_predicates -> mk_poly_existential_predicates_from_iter - intern_poly_existential_predicates -> mk_poly_existential_predicates - _intern_poly_existential_predicates -> intern_poly_existential_predicates - predicates - mk_predicates -> mk_predicates_from_iter - intern_predicates -> mk_predicates - _intern_predicates -> intern_predicates - projs - intern_projs -> mk_projs - place_elems - mk_place_elems -> mk_place_elems_from_iter - intern_place_elems -> mk_place_elems - bound_variable_kinds - mk_bound_variable_kinds -> mk_bound_variable_kinds_from_iter - intern_bound_variable_kinds -> mk_bound_variable_kinds direct_interners - region - intern_region (unchanged) - const - mk_const_internal -> intern_const - const_allocation - intern_const_alloc -> mk_const_alloc - layout - intern_layout -> mk_layout - adt_def - intern_adt_def -> mk_adt_def_from_data (unusual case, hard to avoid) - alloc_adt_def(!) -> mk_adt_def - external_constraints - intern_external_constraints -> mk_external_constraints Other - type_list - mk_type_list -> mk_type_list_from_iter - intern_type_list -> mk_type_list - tup - mk_tup -> mk_tup_from_iter - intern_tup -> mk_tup | ||||
| 2023-02-22 | Remove type-traversal trait aliases | Alan Egerton | -5/+5 | |
| 2023-02-16 | remove bound_type_of query; make type_of return EarlyBinder; change type_of ↵ | Kyle Matsuda | -2/+2 | |
| in metadata | ||||
| 2023-02-16 | change usages of type_of to bound_type_of | Kyle Matsuda | -3/+3 | |
| 2023-02-16 | Replace some `then`s with some `then_some`s | Maybe Waffle | -1/+1 | |
| 2023-02-16 | `if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)` | Maybe Waffle | -1/+1 | |
| 2023-02-13 | Rename folder traits' `tcx` method to `interner` | Alan Egerton | -1/+1 | |
| 2023-02-13 | Make folding traits generic over the Interner | Alan Egerton | -1/+1 | |
| 2023-02-13 | Alias folding/visiting traits instead of re-export | Alan Egerton | -2/+2 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -1/+1 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -1/+1 | |
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -2/+2 | |
| 2023-01-09 | Use newtype for unused generic parameters | Nilstrieb | -2/+36 | |
| 2022-12-11 | bug! with a better error message for failing Instance::resolve | Michael Goulet | -1/+16 | |
| 2022-11-21 | Allow iterators instead of requiring slices that will get turned into iterators | Oli Scherer | -1/+1 | |
| 2022-11-18 | Make "long type" printing type aware | Esteban Küber | -20/+37 | |
| Instead of simple string cutting, use a custom printer to hide parts of long printed types. | ||||
| 2022-11-04 | Some tracing and comment cleanups | Oli Scherer | -2/+2 | |
| 2022-09-19 | remove the `Subst` trait, always use `EarlyBinder` | lcnr | -4/+2 | |
| 2022-09-15 | Replace more manual TypeFoldable and TypeVisitable impls with derives | Oli Scherer | -1/+1 | |
| 2022-09-15 | derive various Lift impl instead of hand rolling them | Oli Scherer | -1/+1 | |
| 2022-08-01 | Remove DefId from AssocItemContainer. | Camille GILLOT | -1/+1 | |
| 2022-07-20 | consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable) | Ralf Jung | -7/+7 | |
| 2022-07-13 | Rename `debugging_opts` to `unstable_opts` | Joshua Nelson | -1/+1 | |
| This is no longer used only for debugging options (e.g. `-Zoutput-width`, `-Zallow-features`). Rename it to be more clear. | ||||
| 2022-07-06 | Update TypeVisitor paths | Alan Egerton | -1/+3 | |
| 2022-07-05 | Add #[derive(TypeVisitable)] | Alan Egerton | -1/+1 | |
| 2022-06-30 | Recover when failing to normalize closure signature. | Camille GILLOT | -5/+6 | |
