Skip to content

Always evaluate the expression in [expr; n] #23354

@dotdash

Description

@dotdash

Currently, [panic!(); 0] will panic, but let x = [panic!(); 0] will not, because the expression is not evaluated in that case.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions