This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
848e0a23f3
rust
/
src
/
test
/
ui
/
macros
/
macro-stmt-matchers.rs
8 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Removed `#[rustc_error]` from tests that are all `// compile-pass`. I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-10-31 13:08:01 +01:00
// compile-pass
Add regression test
2016-07-17 15:46:21 +00:00
Removed `#[rustc_error]` from tests that are all `// compile-pass`. I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-10-31 13:08:01 +01:00
fn
main
(
)
{
Add regression test
2016-07-17 15:46:21 +00:00
macro_rules
!
m
{
(
$s
:
stmt
;
)
=
>
{
$s
}
}
m!
(
vec!
[
]
.
push
(
0
)
;
)
;
}
Reference in a new issue
Copy permalink