about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2017-11-05 06:43:29 -0500
committerMichael Hewson <michael@michaelhewson.ca>2017-11-07 13:36:10 -0500
commit7dff08de57cebfff792948eabf72809565a007e2 (patch)
treef58f2f33ad8b70f841fc6bfc0e75a5a4c88e3f87 /src/test/incremental/thinlto
parent497397ab4b66e40f3a772544a1bb9842869cf118 (diff)
downloadrust-7dff08de57cebfff792948eabf72809565a007e2.tar.gz
rust-7dff08de57cebfff792948eabf72809565a007e2.zip
Rewrote check_method_receiver and ExplicitSelf, got a borrow checker error
Rewrote ExplicitSelf, adding a new `Other` variant for arbitrary self
types. It’s a bit more sophisticated now, and checks for type equality,
so you have to pass the type context and param env as arguments.
There’s a borrow-checker error here that I have to fix

Rewrote check_method_receiver, so it acts as if arbitrary self types
are allowed, and then checks for ExplicitSelf::Other at the end and
disallows it unless the feature is present.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions