This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-01-09 06:16:06 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
fafe13aea4
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 19:55:38 +00: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 17:23:27 +00:00
fn
check
(
)
{
}
Add compile-fail test for invalid cfg predicate in attribute Refs #31495
2016-02-08 19:55:38 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink