-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
Description
Checking lsprotocol v1.0.0-alpha.3
error[E0412]: cannot find type `InlineCompletionTriggerKind` in this scope
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:1643:20
|
1643 | impl Serialize for InlineCompletionTriggerKind {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `CompletionTriggerKind`
...
1857 | pub enum CompletionTriggerKind {
| ------------------------------ similarly named enum `CompletionTriggerKind` defined here
...skipping...
| ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CompletionItem`
error[E0412]: cannot find type `TextDocumentContentResult` in this scope
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:11030:17
|
11030 | pub result: TextDocumentContentResult,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `TextDocumentContentResult` in this scope
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:11030:17
|
11030 | pub result: TextDocumentContentResult,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
11020 | pub struct TextDocumentContentResponse<TextDocumentContentResult> {
| +++++++++++++++++++++++++++
error[E0599]: no variant or associated item named `Debug` found for enum `MessageType` in the current scope
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:890:26
|
860 | pub enum MessageType {
| -------------------- variant or associated item `Debug` not found for this enum
...
890 | MessageType::Debug => serializer.serialize_i32(5),
| ^^^^^ variant or associated item not found in `MessageType`
error[E0599]: no variant or associated item named `Debug` found for enum `MessageType` in the current scope
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:905:34
|
860 | pub enum MessageType {
| -------------------- variant or associated item `Debug` not found for this enum
...
905 | 5 => Ok(MessageType::Debug),
| ^^^^^ variant or associated item not found in `MessageType`
error[E0433]: failed to resolve: use of undeclared type `InlineCompletionTriggerKind`
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:1661:21
|
1661 | 1 => Ok(InlineCompletionTriggerKind::Invoked),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| use of undeclared type `InlineCompletionTriggerKind`
| help: an enum with a similar name exists: `CompletionTriggerKind`
error[E0433]: failed to resolve: use of undeclared type `InlineCompletionTriggerKind`
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:1662:21
|
1662 | 2 => Ok(InlineCompletionTriggerKind::Automatic),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| use of undeclared type `InlineCompletionTriggerKind`
| help: an enum with a similar name exists: `CompletionTriggerKind`
error[E0433]: failed to resolve: use of undeclared type `InlineCompletionTriggerKind`
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:1649:13
|
1649 | InlineCompletionTriggerKind::Invoked => serializer.serialize_i32(1),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| use of undeclared type `InlineCompletionTriggerKind`
| help: an enum with a similar name exists: `CompletionTriggerKind`
error[E0433]: failed to resolve: use of undeclared type `InlineCompletionTriggerKind`
--> /nix/store/j2jardyivya9vx7g4415c6qb2c09vxvc-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/lsprotocol-1.0.0-alpha.3/src/lib.rs:1650:13
|
1650 | InlineCompletionTriggerKind::Automatic => serializer.serialize_i32(2),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| use of undeclared type `InlineCompletionTriggerKind`
| help: an enum with a similar name exists: `CompletionTriggerKind`
Some errors have detailed explanations: E0412, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `lsprotocol` (lib) due to 20 previous errors
Reactions are currently unavailable