rust/compiler/rustc_trait_selection/src/solve
Scott McMurray 843c5e361e Rename IndexVec::lastlast_index
As I've been trying to replace a `Vec` with an `IndexVec`, having `last` exist on both but returning very different types makes the transition a bit awkward -- the errors are later, where you get things like "there's no `ty` method on `mir::Field`" rather than a more localized error like "hey, there's no `last` on `IndexVec`".

So I propose renaming `last` to `last_index` to help distinguish `Vec::last`, which returns an element, and `IndexVec::last_index`, which returns an index.

(Similarly, `Iterator::last` also returns an element, not an index.)
2023-03-29 00:27:24 -07:00
..
canonical Return nested obligations from canonical response var unification 2023-03-23 19:00:04 +00:00
search_graph Rename IndexVec::lastlast_index 2023-03-29 00:27:24 -07:00
trait_goals Rollup merge of #109441 - oli-obk:fn_trait_new_solver, r=compiler-errors 2023-03-21 19:00:14 +01:00
assembly.rs Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnr 2023-03-28 12:50:01 +00:00
eval_ctxt.rs Return nested obligations from canonical response var unification 2023-03-23 19:00:04 +00:00
fulfill.rs Return nested obligations from canonical response var unification 2023-03-23 19:00:04 +00:00
mod.rs Remove some stale FIXMEs in new solver 2023-03-25 01:51:19 +00:00
project_goals.rs Add a builtin FnPtr trait 2023-03-27 12:16:54 +00:00
trait_goals.rs Add a builtin FnPtr trait 2023-03-27 12:16:54 +00:00