b5cf8b8277
This avoids event spans that would otherwise cause crashes, since an End's span covers the range of the tag (which will be earlier than the line break within the tag).
137 lines
3.4 KiB
Plaintext
137 lines
3.4 KiB
Plaintext
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:4:5
|
|
|
|
|
LL | /// lazy continuation
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
= note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
|
|
help: indent this line
|
|
|
|
|
LL | /// lazy continuation
|
|
| +++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:9:5
|
|
|
|
|
LL | /// lazy list continuations don't make warnings with this lint
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// lazy list continuations don't make warnings with this lint
|
|
| +++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:11:5
|
|
|
|
|
LL | /// because they don't have the
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// because they don't have the
|
|
| +++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:16:5
|
|
|
|
|
LL | /// lazy continuation
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// lazy continuation
|
|
| ++++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:21:5
|
|
|
|
|
LL | /// lazy list continuations don't make warnings with this lint
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// lazy list continuations don't make warnings with this lint
|
|
| ++++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:23:5
|
|
|
|
|
LL | /// because they don't have the
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// because they don't have the
|
|
| ++++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:28:5
|
|
|
|
|
LL | /// lazy continuation
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// lazy continuation
|
|
| ++++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:33:5
|
|
|
|
|
LL | /// this will warn on the lazy continuation
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// this will warn on the lazy continuation
|
|
| ++++++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:35:5
|
|
|
|
|
LL | /// and so should this
|
|
| ^^^^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// and so should this
|
|
| ++
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:56:5
|
|
|
|
|
LL | /// 'protocol_descriptors': [
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// 'protocol_descriptors': [
|
|
| +
|
|
|
|
error: doc list item missing indentation
|
|
--> tests/ui/doc/doc_lazy_list.rs:75:5
|
|
|
|
|
LL | /// ]
|
|
| ^
|
|
|
|
|
= help: if this is supposed to be its own paragraph, add a blank line
|
|
help: indent this line
|
|
|
|
|
LL | /// ]
|
|
| +
|
|
|
|
error: aborting due to 11 previous errors
|
|
|