Skip to content

Conversation

alan-andrade
Copy link
Contributor

Hi,

I believe the word "managed" doesn't make sense here anymore. It's just a box.

bors added a commit that referenced this pull request May 11, 2014
Hi,

I believe the word "managed" doesn't make sense here anymore. It's just a box.
@bors bors closed this May 11, 2014
@bors bors merged commit 4e1f239 into rust-lang:master May 11, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 13, 2023
fix: Don't insert a semicolon when typing = if parse errors are encountered

Fixes rust-lang/rust-analyzer#11005
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 6, 2025
Removing the semicolon of the last statement of an expressionless block
may change the block type even if the statement's type is `()`. If the
block type is `!` because of a systematic early return, typing it as
`()` may make it incompatible with the expected type for the block (to
which `!` is cast).

Fix rust-lang#14100

changelog: [`unnecessary_semicolon`]: do not remove semicolon if it
could change the block type from `!` to `()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants