Skip to content

Rust analyzer complains about gfx_pipeline! in the cube example. #476

@haihala

Description

@haihala
{
	"resource": "/E:/projects/piston-examples/examples/cube.rs",
	"owner": "rustc",
	"code": {
		"value": "mismatched-arg-count",
		"target": {
			"$mid": 1,
			"external": "https://rust-analyzer.github.io/manual.html#mismatched-arg-count",
			"path": "/manual.html",
			"scheme": "https",
			"authority": "rust-analyzer.github.io",
			"fragment": "mismatched-arg-count"
		}
	},
	"severity": 8,
	"message": "expected 7 arguments, found 4",
	"source": "rust-analyzer",
	"startLineNumber": 25,
	"startColumn": 1,
	"endLineNumber": 31,
	"endColumn": 4
}

I get five of those, one for each row. I've tried to study the macro but can't see what's wrong with it.

Rust analyzer has nothing to say about the file where the macro is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions