This commit introduces the ability to create and emit `Diagnostic` structures from proc-macros, allowing for proc-macro authors to emit warning, error, note, and help messages just like the compiler does.
13 lines
277 B
TOML
13 lines
277 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "proc_macro"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
crate-type = ["dylib"]
|
|
|
|
[dependencies]
|
|
syntax = { path = "../libsyntax" }
|
|
syntax_pos = { path = "../libsyntax_pos" }
|
|
rustc_errors = { path = "../librustc_errors" }
|