Skip to content

Try to tailor error messages for common scenarios #24002

Closed
@nikomatsakis

Description

@nikomatsakis

This is a vague bug but here is my intention:

  1. Look at common bugs (returning a closure, etc) and see if we can improve the error messages for those
  2. Try to improve the heuristics that suggest how to report a region inference failure, which frequently give nonsense results

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsP-mediumMedium priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions