blob: 80ff225b8791fc4adf2e59431762cd8c5e9e254f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// check-pass
// compile-flags:--test
// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
pub fn test() -> Result<(), ()> {
//! ```compile_fail
//! fn test() -> Result< {}
//! ```
Ok(())
}
|