fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: missing documentation for a struct 2 --> $DIR/missing_doc_impl.rs:13:1 3 | 4LL | / struct Foo { 5LL | | a: isize, 6LL | | b: isize, 7LL | | } 8 | |_^ 9 | 10 = note: `-D clippy::missing-docs-in-private-items` implied by `-D warnings` 11 = help: to override `-D warnings` add `#[allow(clippy::missing_docs_in_private_items)]` 12 13error: missing documentation for a struct field 14 --> $DIR/missing_doc_impl.rs:14:5 15 | 16LL | a: isize, 17 | ^^^^^^^^ 18 19error: missing documentation for a struct field 20 --> $DIR/missing_doc_impl.rs:15:5 21 | 22LL | b: isize, 23 | ^^^^^^^^ 24 25error: missing documentation for a struct field 26 --> $DIR/missing_doc_impl.rs:20:5 27 | 28LL | b: isize, 29 | ^^^^^^^^ 30 31error: missing documentation for an associated function 32 --> $DIR/missing_doc_impl.rs:67:5 33 | 34LL | / pub fn new() -> Self { 35LL | | Foo { a: 0, b: 0 } 36LL | | } 37 | |_____^ 38 39error: missing documentation for an associated function 40 --> $DIR/missing_doc_impl.rs:70:5 41 | 42LL | fn bar() {} 43 | ^^^^^^^^^^^ 44 45error: missing documentation for an associated function 46 --> $DIR/missing_doc_impl.rs:78:5 47 | 48LL | / fn foo2() -> u32 { 49LL | | 1 50LL | | } 51 | |_____^ 52 53error: aborting due to 7 previous errors 54