-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Type annotations needed in assertion #113283
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Code
I tried this code:
I expected to see this happen: Compiles and assertion passes.
Instead, this happened: Compiler wants type annotation somewhere in assertion. Span is on whole assertion.
Version it worked on
It most recently worked on: 1.70 stable
Version with regression
Recent nightlies (also occurs on Rust playground)
rustc --version --verbose: