Stream: t-compiler

Topic: borrowck


Zoxc (Apr 15 2019 at 18:55, on Zulip):

Can you use the old borrowck in a 2018 crate?

Florian Gilcher (Apr 15 2019 at 19:09, on Zulip):

No, you can't select the borrowck in use.

pnkfelix (Apr 16 2019 at 11:06, on Zulip):

/me wonders if -Z borrowck=ast works under 2018

pnkfelix (Apr 16 2019 at 11:07, on Zulip):

(its slated to be removed, in any case...)

Santiago Pastorino (Apr 16 2019 at 14:19, on Zulip):

@pnkfelix I guess @Zoxc wants to declare that one crate uses the old borrowck regardless what's the main borrowck in use

Santiago Pastorino (Apr 16 2019 at 14:19, on Zulip):

and as @Florian Gilcher have said that's not possible

Santiago Pastorino (Apr 16 2019 at 14:19, on Zulip):

maybe my guessing is wrong :)

pnkfelix (Apr 16 2019 at 14:19, on Zulip):

sure, I was just thinking out loud

pnkfelix (Apr 16 2019 at 14:20, on Zulip):

I wasn't sure if @Zoxc just wanted to try to throw some random code in a crate at the old borrowck

pnkfelix (Apr 16 2019 at 14:20, on Zulip):

without first revising it to fit 2015 edition requirements

pnkfelix (Apr 16 2019 at 14:21, on Zulip):

(of course I wouldn't be suprised if one encountered ICE's in such an attempt to shoehorn AST borrowck into a 2018 edition context.)

Last update: Nov 22 2019 at 05:10UTC