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