2021-01-15 21:55:16 -06:00
|
|
|
//@ check-pass
|
|
|
|
//@ compile-flags:--test
|
2023-04-29 04:08:33 -05:00
|
|
|
//@ normalize-stdout-test: "tests/rustdoc-ui/issues" -> "$$DIR"
|
2024-06-21 00:15:36 -05:00
|
|
|
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2021-01-15 21:55:16 -06:00
|
|
|
|
|
|
|
pub fn test() -> Result<(), ()> {
|
|
|
|
//! ```compile_fail
|
|
|
|
//! fn test() -> Result< {}
|
|
|
|
//! ```
|
|
|
|
Ok(())
|
|
|
|
}
|