Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uprustc: use methods instead of functions in middle::ty. #26575
Conversation
rust-highfive
assigned
alexcrichton
Jun 25, 2015
This comment has been minimized.
This comment has been minimized.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
O.o This is a HUGE refactoring! I also wonder how many PRs will be marked as unmergeable because of this... |
This comment has been minimized.
This comment has been minimized.
|
@barosl it's a... prerequisite for a prerequisite ( It's also going to rot if it doesn't get reviewed this week, but most changes were mechanical, so unless there are significant changes to |
This comment has been minimized.
This comment has been minimized.
|
r? @nrc (or other @rust-lang/compiler folks) |
rust-highfive
assigned
nrc
and unassigned
alexcrichton
Jun 26, 2015
This comment has been minimized.
This comment has been minimized.
rust-highfive
assigned
nikomatsakis
and unassigned
nrc
Jun 26, 2015
This comment has been minimized.
This comment has been minimized.
|
|
eddyb
force-pushed the
eddyb:tycx
branch
from
73cd114
to
75e1de9
Jun 26, 2015
eddyb
changed the title
rustc: use methods instead of functions in middle::ty.
rustc: use methods instead of middle::ty functions and alias &'a ctxt<'tcx> to TyCx<'a, 'tcx>.
Jun 26, 2015
eddyb
force-pushed the
eddyb:tycx
branch
from
75e1de9
to
0ca3721
Jun 26, 2015
eddyb
added some commits
Jun 23, 2015
eddyb
force-pushed the
eddyb:tycx
branch
from
0ca3721
to
a57c5ec
Jun 26, 2015
eddyb
changed the title
rustc: use methods instead of middle::ty functions and alias &'a ctxt<'tcx> to TyCx<'a, 'tcx>.
rustc: use only methods in middle::ty and replace &'a ctxt<'tcx> with TyCx<'a, 'tcx>.
Jun 26, 2015
This comment has been minimized.
This comment has been minimized.
|
I might remove the last two commits - if we can get something like |
eddyb
referenced this pull request
Jun 26, 2015
Closed
Allow using an undeclared '_ as an anonymous input or inference region. #26598
eddyb
force-pushed the
eddyb:tycx
branch
from
8f070a7
to
ad66c21
Jun 26, 2015
eddyb
changed the title
rustc: use only methods in middle::ty and replace &'a ctxt<'tcx> with TyCx<'a, 'tcx>.
rustc: use methods instead of functions in middle::ty.
Jun 26, 2015
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis I've removed the |
This comment has been minimized.
This comment has been minimized.
|
@bors r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@eddyb this is nice! |
eddyb commentedJun 25, 2015
Next step towards split local/global type contexts, after #26351.
cc @rust-lang/compiler @jroesch