Files
react/compiler/crates/forget_diagnostics
lauren a0dc166991 [rfc] Remove top level forget directory
Sorry about the thrash in advance! This removes the top level `forget` directory 
which adds unnecessary nesting to our repo 

Hopefully everything still works
2023-08-22 15:04:54 -04:00
..

forget_diagnostics

Types for representing compiler diagnostics. Includes a general-purpose representation of diagnostics with related information which can be converted into miette::Diagnostic to exploit miette's pretty printing of errors.

Unlike miette, lsp_types, and other diagnostic libraries, the error severities match Forget's semantics. The intent is that a given Forget diagnostic may be displayed as an error, warning, or not displayed at all depending on the context in which the compiler is being used. For example, an ESLint plugin powered by Forget may ignore InvalidSyntax diagnostics, whereas the regular compiler may report them as errors.