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
Upon conferring with @nikomatsakis : This is not exactly a bug, but part of the general unsoundness to do with how we treat the Drop trait. It's not necessarily wrong that pure functions can implicitly call impure functions, but it is a problem that destructors are allowed to mutate non-owned memory.
@nikomatsakis said he would open a more general issue about Drop and unsoundness, so I'll close this.
`invalid_regex`: Show full error when string value doesn't match source
changelog: [`invalid_regex`]: Show full error when parsing non-literals or regular strings containing escape sequences
Fixesrust-lang#4170, the escape sequence there causes the span to be incorrect which will have caused most of the confusion
See the following code for an example:
Result:
The text was updated successfully, but these errors were encountered: