about summary refs log tree commit diff
path: root/tests/rustdoc-ui/issues/issue-80992.rs
blob: 31cc8b78ecc4a1f37f1905dbf5055037cd0ee5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ check-pass
//@ compile-flags:--test
//@ normalize-stdout-test: "tests/rustdoc-ui/issues" -> "$$DIR"
//@ normalize-stdout-test: "finished in \d+\.\d+s" -> "finished in $$TIME"

pub fn test() -> Result<(), ()> {
    //! ```compile_fail
    //! fn test() -> Result< {}
    //! ```
    Ok(())
}