🐛 just documentation
provides errors (Probably a regression)
#222
Labels
just documentation
provides errors (Probably a regression)
#222
Environment information
main
branch at9628f6b3382c1f192d686a899b8c3811c851b894
What happened?
just documentation
at repository root.All output
cargo lintdoc
Compiling xtask_lintdoc v0.0.0 (/Users/kyu08/code/rust/biome/xtask/lintdoc)
Finished dev [unoptimized + debuginfo] target(s) in 3.35s
Running
target/debug/xtask_lintdoc
nursery/noConfusingVoidType.js:1:32 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is not valid as a constituent in a union type
nursery/noConfusingVoidType.js:2:64 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is not valid as a constituent in a union type
nursery/noConfusingVoidType.js:1:10 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is only valid as a return type or a type argument in generic type
nursery/noConfusingVoidType.js:2:27 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is only valid as a return type or a type argument in generic type
cargo documentation
Checking rome_json_formatter v0.1.0 (/Users/kyu08/code/rust/biome/crates/rome_json_formatter)
Checking rome_js_formatter v0.1.0 (/Users/kyu08/code/rust/biome/crates/rome_js_formatter)
Documenting rome_json_formatter v0.1.0 (/Users/kyu08/code/rust/biome/crates/rome_json_formatter)
Documenting rome_js_formatter v0.1.0 (/Users/kyu08/code/rust/biome/crates/rome_js_formatter)
warning: unresolved link to
SyntaxNode
--> crates/biome_js_semantic/src/events.rs:126:36
|
126 | /// Extracts [SemanticEvent] from [SyntaxNode].
| ^^^^^^^^^^ no item named
SyntaxNode
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
= note:
#[warn(rustdoc::broken_intra_doc_links)]
on by defaultwarning: public documentation for
SemanticEventExtractor
links to private itemSemanticEventIterator
--> crates/biome_js_semantic/src/events.rs:134:76
|
134 | /// For a simpler way to extract [SemanticEvent] see [semantic_events] or [SemanticEventIterator].
| ^^^^^^^^^^^^^^^^^^^^^ this item is private
|
= note: this link will resolve properly if you pass
--document-private-items
= note:
#[warn(rustdoc::private_intra_doc_links)]
on by defaultwarning: unresolved link to
PreOrder
--> crates/biome_js_semantic/src/events.rs:137:10
|
137 | /// the [PreOrder] of the tree, and must pull events until [Pop] returns [None].
| ^^^^^^^^ no item named
PreOrder
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
Pop
--> crates/biome_js_semantic/src/events.rs:137:61
|
137 | /// the [PreOrder] of the tree, and must pull events until [Pop] returns [None].
| ^^^ no item named
Pop
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
SyntaxNode
--> crates/biome_js_semantic/src/events.rs:1036:36
|
1036 | /// Extracts [SemanticEvent] from [SyntaxNode].
| ^^^^^^^^^^ no item named
SyntaxNode
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
SyntaxNode
--> crates/biome_js_semantic/src/semantic_model/builder.rs:6:63
|
6 | /// Builds the [SemanticModel] consuming [SemanticEvent] and [SyntaxNode].
| ^^^^^^^^^^ no item named
SyntaxNode
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
SemanticEvents
--> crates/biome_js_semantic/src/semantic_model/builder.rs:9:46
|
9 | /// [SemanticModelBuilder] consumes all the [SemanticEvents] and build all the
| ^^^^^^^^^^^^^^ no item named
SemanticEvents
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: public documentation for
SemanticModelBuilder
links to private itemSemanticModelData
--> crates/biome_js_semantic/src/semantic_model/builder.rs:10:32
|
10 | /// data necessary to build a [SemanticModelData], that is allocated with an [Arc]
| ^^^^^^^^^^^^^^^^^ this item is private
|
= note: this link will resolve properly if you pass
--document-private-items
warning: unresolved link to
Arc
--> crates/biome_js_semantic/src/semantic_model/builder.rs:10:79
|
10 | /// data necessary to build a [SemanticModelData], that is allocated with an [Arc]
| ^^^ no item named
Arc
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: public documentation for
SemanticModel
links to private itemscope
--> crates/biome_js_semantic/src/semantic_model/model.rs:105:15
|
105 | /// - Scope: [scope]
| ^^^^^ this item is private
|
= note: this link will resolve properly if you pass
--document-private-items
warning: unresolved link to
declaration
--> crates/biome_js_semantic/src/semantic_model/model.rs:106:22
|
106 | /// - Declarations: [declaration]
| ^^^^^^^^^^^ no item named
declaration
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: public documentation for
SemanticModel
links to private itemSemanticModelData
--> crates/biome_js_semantic/src/semantic_model/model.rs:108:10
|
108 | /// See [SemanticModelData] for more information about the internals.
| ^^^^^^^^^^^^^^^^^ this item is private
|
= note: this link will resolve properly if you pass
--document-private-items
warning: unresolved link to
Call
--> crates/biome_js_semantic/src/semantic_model/model.rs:341:22
|
341 | /// Returns all [Call] of a [AnyJsFunction].
| ^^^^ no item named
Call
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
Call
--> crates/biome_js_semantic/src/semantic_model/reference.rs:105:38
|
105 | /// Returns this reference as a [Call] if possible
| ^^^^ no item named
Call
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
ancestors
--> crates/biome_js_semantic/src/semantic_model/scope.rs:100:15
|
100 | /// that [ancestors] return "self" as the first scope,
| ^^^^^^^^^ no item named
ancestors
in scope|
= help: to escape
[
and]
characters, add '' before them like\[
or\]
warning: unresolved link to
semantic_model::SemanticModel::scope
--> crates/biome_js_semantic/src/semantic_model/scope.rs:208:21
|
208 | /// See scope
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
semantic_model
is a function, not a module or type, and cannot have associated itemswarning: unresolved link to
semantic_model::SemanticModel::scope_hoisted_to
--> crates/biome_js_semantic/src/semantic_model/scope.rs:212:21
|
212 | /// See scope
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
semantic_model
is a function, not a module or type, and cannot have associated itemswarning:
biome_js_semantic
(lib doc) generated 17 warningsChecking rome_service v0.0.0 (/Users/kyu08/code/rust/biome/crates/rome_service)
Documenting rome_service v0.0.0 (/Users/kyu08/code/rust/biome/crates/rome_service)
Checking biome_lsp v0.0.0 (/Users/kyu08/code/rust/biome/crates/biome_lsp)
warning: unclosed HTML tag
th
--> crates/rome_service/src/configuration/linter/rules.rs:377:5
|
377 | #[doc = "The scope prop should be used only on elements."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note:
#[warn(rustdoc::invalid_html_tags)]
on by defaultwarning: unclosed HTML tag
T
--> crates/rome_service/src/configuration/linter/rules.rs:3002:5
|
3002 | #[doc = "When expressing array types, this rule promotes the usage of T[] shorthand instead of Array."]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: try marking as source code
|
3002 |
#[doc = "When expressing array types, this rule promotes the usage of T[] shorthand instead of Array<T>."]
| + +
warning:
rome_service
(lib doc) generated 2 warningsChecking biome_cli v0.0.0 (/Users/kyu08/code/rust/biome/crates/biome_cli)
Documenting biome_cli v0.0.0 (/Users/kyu08/code/rust/biome/crates/biome_cli)
Finished dev [unoptimized + debuginfo] target(s) in 19.50s
Especially this part is not provided a few days ago. It is possible regression due to recent changes.
The part of them
nursery/noConfusingVoidType.js:1:32 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is not valid as a constituent in a union type
nursery/noConfusingVoidType.js:2:64 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is not valid as a constituent in a union type
nursery/noConfusingVoidType.js:1:10 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is only valid as a return type or a type argument in generic type
nursery/noConfusingVoidType.js:2:27 lint/nursery/noConfusingVoidType ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ void is only valid as a return type or a type argument in generic type
Expected result
No errors provided.
Code of Conduct
The text was updated successfully, but these errors were encountered: