Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
master
rust/tests/rustdoc/empty-tuple-struct-118180.rs

13 lines
270 B
Rust
Raw Permalink Normal View History

Add URL and crate_name to test cases
2024-09-12 13:38:24 -07:00
// https://github.com/rust-lang/rust/issues/118180
#![crate_name="foo"]
//@ has foo/enum.Enum.html
Don't print "private fields" on empty tuple structs Test for presence rather than absence Remove redundant tests Issues in those parts will likely be caught by other parts of the test suite.
2023-11-23 01:56:09 +01:00
pub enum Enum {
Update `tests/rustdoc` to new test syntax
2024-06-21 14:03:08 +02:00
//@ has - '//*[@id="variant.Empty"]//h3' 'Empty()'
Don't print "private fields" on empty tuple structs Test for presence rather than absence Remove redundant tests Issues in those parts will likely be caught by other parts of the test suite.
2023-11-23 01:56:09 +01:00
Empty(),
}
Add URL and crate_name to test cases
2024-09-12 13:38:24 -07:00
//@ has foo/struct.Empty.html
Update `tests/rustdoc` to new test syntax
2024-06-21 14:03:08 +02:00
//@ has - '//pre/code' 'Empty()'
Don't print "private fields" on empty tuple structs Test for presence rather than absence Remove redundant tests Issues in those parts will likely be caught by other parts of the test suite.
2023-11-23 01:56:09 +01:00
pub struct Empty();
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 320ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API