]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/issue-80992.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / rustdoc-ui / issue-80992.rs
1 // check-pass
2 // compile-flags:--test
3 // normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
4 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
5
6 pub fn test() -> Result<(), ()> {
7     //! ```compile_fail
8     //! fn test() -> Result< {}
9     //! ```
10     Ok(())
11 }