Uh oh!
There was an error while loading. Please reload this page.
Remove ObsoleteInPlace - #60803
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
036e368 to
1642e7cCompareThere was a problem hiding this comment.
So I think it's good that we remove it from the AST and such, but keeping options open re. <- and not introducing new stable behavior would be good so let's reject this in the parser?
petrochenkov
commented
May 13, 2019
Removing |
petrochenkov
commented
May 13, 2019
Let's see what crater finds anyway. |
petrochenkov
commented
May 13, 2019
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1642e7c to
09fbf38Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
095877a to
36f6542Comparevarkor
commented
May 24, 2019
Removed the |
petrochenkov
commented
May 24, 2019
@bors r+ |
bors
commented
May 24, 2019
📌 Commit 36f6542 has been approved by |
bors
commented
May 24, 2019
Remove `ObsoleteInPlace` The in place syntax has been deprecated for over a year. As it is, this is accumulated cruft: the error messages are unlikely to be helpful any more and it conflicts with some useful syntax (e.g. const generics in some instances). It may be that removing `Token::LArrow` is backwards-incompatible. We should do a crater run to check. cc @eddyb
bors
commented
May 24, 2019
☀️ Test successful - checks-travis, status-appveyor |
rustup rust-lang/rust#60803 changelog: none
Changes: ```` Rustup to rust-lang#61026 rustup rust-lang#60803 Rustup to rust-lang#59545 Rustup to rust-lang#60965 clippy: bump rustc_tools util version to 0.2 rustc_tools_util: fix typo in docs (readme) rustc_tool_utils: bump version to 0.2.0 update if_chain to 1.0.0 tests: update needless_bool test stderr cargo fmt Rustup to rust-lang#60740 Lifetimes UI test cleanup ````
| help: if you meant to write a comparison against a negative value, add a space in between `<` and `-` | ||
| | | ||
| LL | if x< -1 { | ||
| | ^^^ |
There was a problem hiding this comment.
It is a shame that we lost this suggestion...
The in place syntax has been deprecated for over a year. As it is, this is accumulated cruft: the error messages are unlikely to be helpful any more and it conflicts with some useful syntax (e.g. const generics in some instances).
It may be that removing
Token::LArrowis backwards-incompatible. We should do a crater run to check.cc @eddyb