fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: missing documentation for the crate 2 --> $DIR/check.rs:5:1 3 | 4LL | / #![feature(rustdoc_missing_doc_code_examples)] 5LL | | 6LL | | 7LL | | 8... | 9LL | | 10LL | | pub fn foo() {} 11 | |_______________^ 12 | 13note: the lint level is defined here 14 --> $DIR/check.rs:9:9 15 | 16LL | #![warn(missing_docs)] 17 | ^^^^^^^^^^^^ 18 19warning: missing documentation for a function 20 --> $DIR/check.rs:13:1 21 | 22LL | pub fn foo() {} 23 | ^^^^^^^^^^^^ 24 25warning: no documentation found for this crate's top-level module 26 | 27 = help: The following guide may be of use: 28 https://doc.rust-lang.org/$CHANNEL/rustdoc/how-to-write-documentation.html 29note: the lint level is defined here 30 --> $DIR/check.rs:11:9 31 | 32LL | #![warn(rustdoc::all)] 33 | ^^^^^^^^^^^^ 34 = note: `#[warn(rustdoc::missing_crate_level_docs)]` implied by `#[warn(rustdoc::all)]` 35 36warning: missing code example in this documentation 37 --> $DIR/check.rs:5:1 38 | 39LL | / #![feature(rustdoc_missing_doc_code_examples)] 40LL | | 41LL | | 42LL | | 43... | 44LL | | 45LL | | pub fn foo() {} 46 | |_______________^ 47 | 48note: the lint level is defined here 49 --> $DIR/check.rs:10:9 50 | 51LL | #![warn(rustdoc::missing_doc_code_examples)] 52 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 53 54warning: missing code example in this documentation 55 --> $DIR/check.rs:13:1 56 | 57LL | pub fn foo() {} 58 | ^^^^^^^^^^^^^^^ 59 60warning: 5 warnings emitted 61