Skip to content

Add type-check test coverage for ExprData::True #268

@nikomatsakis

Description

@nikomatsakis

Parent tracking issue: #265

The ExprData::True variant has borrow-check coverage (e.g., min_problem_case_3) but no type-checking coverage in mir_typeck.rs.

Add a test that uses the true literal. This could be combined with a Stmt::If test. See the parent tracking issue for instructions on how to add tests.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Needs triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions