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
20f09e1daa2c379beadbe1df133023f1aae727a6
rust/tests/ui/crashes/procedural_macro.rs

14 lines
189 B
Rust
Raw Normal View History

Add missing `// run-pass` annotations to ICE tests compiletest UI tests do not fail when encountering panics and ICEs unless the `// run-pass` flag is used. (This was forgotten in https://github.com/rust-lang/rust-clippy/pull/3743)
2019-04-05 07:22:36 +02:00
// run-pass
Move mini-macro to proc macro We can add a bang-style proc macro again once it stabilizes (we can use the proc macro hack, but it's unnecessary for now)
2017-12-20 08:16:43 -08:00
#[macro_use]
extern crate clippy_mini_macro_test;
don't depend on regex_macros anymore
2016-06-25 18:12:29 +02:00
#[deny(warnings)]
fn main() {
Move mini-macro to proc macro We can add a bang-style proc macro again once it stabilizes (we can use the proc macro hack, but it's unnecessary for now)
2017-12-20 08:16:43 -08:00
let x = Foo;
println!("{:?}", x);
don't depend on regex_macros anymore
2016-06-25 18:12:29 +02:00
}
Move mini-macro to proc macro We can add a bang-style proc macro again once it stabilizes (we can use the proc macro hack, but it's unnecessary for now)
2017-12-20 08:16:43 -08:00
#[derive(ClippyMiniMacroTest, Debug)]
rustfmt tests
2018-12-09 23:26:16 +01:00
struct Foo;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 275ms Template: 3ms
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