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
Both use : in Rust, but the colon is always parsed as outlives in formality.
This was confusing when @jackh726 wrote his projection PR, since it looked like trait goals were failing when they were erroneously parsed as outlives.
Syntax should be changed or some type of validation could perhaps be written to make sure we never try to outlive a trait name on the RHS.
The text was updated successfully, but these errors were encountered:
Both use
:
in Rust, but the colon is always parsed as outlives in formality.This was confusing when @jackh726 wrote his projection PR, since it looked like trait goals were failing when they were erroneously parsed as outlives.
Syntax should be changed or some type of validation could perhaps be written to make sure we never try to outlive a trait name on the RHS.
The text was updated successfully, but these errors were encountered: