Rename rust_2015 → is_rust_2015#107559
Hidden character warning
Conversation
| fn is_explicit_dyn_type(&mut self) -> bool { | ||
| self.check_keyword(kw::Dyn) | ||
| && (!self.token.uninterpolated_span().rust_2015() | ||
| && (self.token.uninterpolated_span().rust_2018() |
There was a problem hiding this comment.
Wouldn't it make sense for this similarly to be renamed is_rust_2018, and so on for all such edition tests?
There was a problem hiding this comment.
No, see the linked comment. rust_2015 is == 2015, but rust_2018 is >= 2018 (similarly for others).
|
@bors r+ rollup |
|
⌛ Testing commit 7f8bf60 with merge 719b6328260db2e1f22b3541221bd6dac45f47db... |
|
💔 Test failed - checks-actions |
|
Hmm... I think bors is busted. I'll post about it on T-infra (https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/Every.20rust-lang.2Frust.20PR.20is.20failing.20bors) @bors treeclosed=50 |
|
@bors retry CI was broken |
Rename `rust_2015` → `is_rust_2015` r? `@compiler-errors` rust-lang#107508 (comment)
|
☔ The latest upstream changes (presumably #105670) made this pull request unmergeable. Please resolve the merge conflicts. |
7f8bf60 to
a7f97a7
Compare
|
@bors r=davidtwco |
Rename `rust_2015` → `is_rust_2015` r? `@compiler-errors` rust-lang#107508 (comment)
Rename `rust_2015` → `is_rust_2015` r? ``@compiler-errors`` rust-lang#107508 (comment)
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#106919 (Recover `_` as `..` in field pattern) - rust-lang#107493 (Improve diagnostic for missing space in range pattern) - rust-lang#107515 (Improve pretty-printing of `HirIdValidator` errors) - rust-lang#107524 (Remove both StorageLive and StorageDead in CopyProp.) - rust-lang#107532 (Erase regions before doing uninhabited check in borrowck) - rust-lang#107559 (Rename `rust_2015` → `is_rust_2015`) - rust-lang#107577 (Reinstate the `hir-stats.rs` tests on stage 1.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
r? @compiler-errors
#107508 (comment)