]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/test-no_std.rs
Rollup merge of #107779 - compiler-errors:issue-107775, r=jackh726
[rust.git] / tests / rustdoc-ui / test-no_std.rs
1 // compile-flags:--test
2 // normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
3 // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
4 // check-pass
5
6 #![no_std]
7
8 extern crate alloc;
9
10 /// ```
11 /// assert!(true)
12 /// ```
13 pub fn f() {}