rust/src/test/rustdoc/range-arg-pattern.rs
Noah Lev ee58c06a12 Fix warnings in rustdoc HTML tests
Now that compiletest denies warnings in these tests, they need fixing!
2021-11-28 11:49:12 -08:00

5 lines
125 B
Rust

#![crate_name = "foo"]
// @has foo/fn.f.html
// @has - '//*[@class="rust fn"]' 'pub fn f(_: u8)'
pub fn f(0u8..=255: u8) {}