We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/awslabs/iam-policy-autopilot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
main.stderr•1.33 kB
error: comparing .kind() with string literal "composite_literal"
--> $DIR/main.rs:15:23
|
LL | if node.kind() == "composite_literal" {
| ^^^^^^^^^^^^^^^^^^^
|
= help: define and use a constant like `const COMPOSITE_LITERAL: &str = "composite_literal";` in a node_kinds module
= note: `#[deny(node_kind_literal)]` on by default
error: comparing .kind() with string literal "unary_expression"
--> $DIR/main.rs:20:8
|
LL | if "unary_expression" == node.kind() {
| ^^^^^^^^^^^^^^^^^^
|
= help: define and use a constant like `const UNARY_EXPRESSION: &str = "unary_expression";` in a node_kinds module
error: comparing .kind() with string literal "literal_value"
--> $DIR/main.rs:25:23
|
LL | if node.kind() != "literal_value" {
| ^^^^^^^^^^^^^^^
|
= help: define and use a constant like `const LITERAL_VALUE: &str = "literal_value";` in a node_kinds module
error: comparing .kind() with string literal "some_new_node_type"
--> $DIR/main.rs:30:23
|
LL | if node.kind() == "some_new_node_type" {
| ^^^^^^^^^^^^^^^^^^^^
|
= help: define and use a constant like `const SOME_NEW_NODE_TYPE: &str = "some_new_node_type";` in a node_kinds module
error: aborting due to 4 previous errors