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-06-08 21:28:33 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4e9901faa9
rust
/
tests
/
run-make
/
rustdoc-cfgspec-parsing
/
foo.rs
8 lines
105 B
Rust
Raw
Normal View
History
Unescape
Escape
parse cfgspecs passed to rustdoc fixes #22131
2015-02-10 04:42:31 +00:00
/// ```rust
/// assert_eq!(foo::foo(), 1);
/// ```
#[
cfg(feature =
"
bar
"
)
]
Run rustfmt on `tests/run-make/`. With the exception of `tests/run-make/translation/test.rs`, which has a syntax error. The expected output in `rustdoc-error-lines/rmake.rs`'s required slight tweaking. The two `reproducible-build.rs` files need `// ignore-tidy-linelength` because rustfmt produces lines longer than 100 chars, which tidy doesn't like, yuk.
2024-05-29 05:01:33 +00:00
pub
fn
foo
(
)
->
i32
{
1
}
Reference in New Issue
Copy Permalink