You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The parser currently assumes there is a struct called FullRange in scope in order to desugar full slices (&expr[] -> &expr[FullRange]). This is a problem if there is no prelude (where FullRange is defined).
We already have a lang item for FullRange, but unfortunately lang items can only be used from the compiler proper, not from libsyntax. The ideal solution is to fix that. Shorter term we might want to allow a full path to be specified via a macro or something, so we can be a bit more hygenic here.