This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
2a663555dd
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 07:08:01 -05:00
// compile-pass
Add regression test
2016-07-17 10:46:21 -05: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 07:08:01 -05:00
fn
main
(
)
{
Add regression test
2016-07-17 10:46:21 -05:00
macro_rules
!
m
{
(
$s
:
stmt
;
)
=
>
{
$s
}
}
m!
(
vec!
[
]
.
push
(
0
)
;
)
;
}
Reference in New Issue
Copy Permalink