mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00

Test for presence rather than absence Remove redundant tests Issues in those parts will likely be caught by other parts of the test suite.
10 lines
253 B
Rust
10 lines
253 B
Rust
// @has issue_118180_empty_tuple_struct/enum.Enum.html
|
|
pub enum Enum {
|
|
// @has - '//*[@id="variant.Empty"]//h3' 'Empty()'
|
|
Empty(),
|
|
}
|
|
|
|
// @has issue_118180_empty_tuple_struct/struct.Empty.html
|
|
// @has - '//pre/code' 'Empty()'
|
|
pub struct Empty();
|