mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +00:00
0b7a6f38d7
Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group.
33 lines
563 B
TOML
33 lines
563 B
TOML
[package]
|
|
name = "parser"
|
|
version = "0.0.0"
|
|
repository.workspace = true
|
|
description = "The Rust parser for rust-analyzer."
|
|
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
drop_bomb = "0.1.5"
|
|
ra-ap-rustc_lexer.workspace = true
|
|
limit.workspace = true
|
|
tracing = { workspace = true, optional = true }
|
|
|
|
edition.workspace = true
|
|
|
|
[dev-dependencies]
|
|
expect-test = "1.4.0"
|
|
|
|
stdx.workspace = true
|
|
|
|
[features]
|
|
default = ["tracing"]
|
|
in-rust-tree = []
|
|
|
|
[lints]
|
|
workspace = true
|