Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust/tests/ui/lint/lint-malformed.rs

9 lines
427 B
Rust
Raw Normal View History

Reword malformed attribute input diagnostics - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser
2019-05-21 17:47:23 -07:00
#![deny = "foo"] //~ ERROR malformed `deny` attribute input
port compiletest to use JSON output This uncovered a lot of bugs in compiletest and also some shortcomings of our existing JSON output. We had to add information to the JSON output, such as suggested text and macro backtraces. We also had to fix various bugs in the existing tests. Joint work with jntrnr.
2016-04-15 21:23:50 -04:00
#![allow(bar = "baz")] //~ ERROR malformed lint attribute
Update tests
2020-01-08 20:02:10 +03:00
//~| ERROR malformed lint attribute
//~| ERROR malformed lint attribute
//~| ERROR malformed lint attribute
Always run tail_expr_drop_order lint on promoted MIR
2024-12-19 04:13:28 +00:00
//~| ERROR malformed lint attribute
//~| ERROR malformed lint attribute
rustc: Fix bugs in renamed and removed lints and re-add raw_pointer_derive cc #30346
2016-01-13 18:54:06 +00:00
fn main() { }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4435ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API