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
b20f40dba9
rust
/
tests
/
ui
/
conditional-compilation
/
cfg-attr-invalid-predicate.rs
5 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Add compile-fail test for invalid cfg predicate in attribute Refs #31495
2016-02-08 13:55:38 -06:00
#[
cfg(foo(bar))
]
//~ ERROR invalid predicate `foo`
Do not abort compilation if expansion produces errors Fix a number of uncovered deficiencies in diagnostics
2018-12-16 11:23:27 -06:00
fn
check
(
)
{
}
Add compile-fail test for invalid cfg predicate in attribute Refs #31495
2016-02-08 13:55:38 -06:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink