Uh oh!
There was an error while loading. Please reload this page.
add #[non_owned] and #[mutable] attributes - #6251
Conversation
brson
commented
May 5, 2013
What is the effect of being I am still not clear on the impact of non-owned. Is there consensus on how this is supposed to work? I am worried that there are a lot of 'cracks' in the type system and things are not fitting together as well as they should. |
thestinger
commented
May 6, 2013
@brson: I think the effect of not being |
pcwalton
commented
May 6, 2013
I think I'd prefer |
thestinger
commented
May 6, 2013
@pcwalton: maybe |
sanxiyn
commented
May 7, 2013
CC #5601. |
Also fixed the docstring on `TC_ONCE_CLOSURE` (was accidentally the same as `TC_MUTABLE`) and shifted the `TC_EMPTY_ENUM` bit left by one since whatever previously used that bit has been removed.
add a couple of ICE testcases Fixesrust-lang#6250Fixesrust-lang#6251Fixesrust-lang#6252Fixesrust-lang#6255Fixesrust-lang#6256 changelog: none
6251: Semantic Highlight: Add Callable modifier for variables r=matklad a=GrayJack This PR added the `HighlightModifier::Callable` variant and assigned it to variables and parameters that are fn pointers, closures and implements FnOnce trait. This allows to colorize these variables/parameters when used in call expression. 6310: Rewrite algo::diff to support insertion and deletion r=matklad a=Veykril This in turn also makes `algo::diff` generate finer diffs(maybe even minimal diffs?) as insertions and deletions aren't always represented as as replacements of parent nodes now. Required for rust-lang#6287 to go on. Co-authored-by: GrayJack <gr41.j4ck@gmail.com> Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Also fixed the docstring on
TC_ONCE_CLOSURE(was accidentally the same asTC_MUTABLE) and shifted theTC_EMPTY_ENUMbit left by one since whatever previously used that bit has been removed.