Skip to content

"Given directory does not exist" from rust-analyzer #6

Closed
@max-sixty

Description

@max-sixty

Possibly this is an issue with rust-analyzer, but posting here to see whether it's helpful feedback for this crate.

At https://github.com/PRQL/prql/blob/d3ed63e250b9368fbcbaa1984eef42a382a23aa5/prqlc/prqlc/tests/integration/queries.rs#L14, each of the invocations gets an error "Given directory does not exist".

It compiles & tests fine.

It's not related to the in-path module, since I tried removing that and still get the error:

image
[{
	"resource": "/Users/maximilian/workspace/prql/prqlc/prqlc/tests/integration/queries.rs",
	"owner": "rustc",
	"code": {
		"value": "macro-error",
		"target": {
			"$mid": 1,
			"external": "https://rust-analyzer.github.io/manual.html#macro-error",
			"path": "/manual.html",
			"scheme": "https",
			"authority": "rust-analyzer.github.io",
			"fragment": "macro-error"
		}
	},
	"severity": 8,
	"message": "Given directory does not exist",
	"source": "rust-analyzer",
	"startLineNumber": 52,
	"startColumn": 26,
	"endLineNumber": 52,
	"endColumn": 67
}]

Thanks for any guidance!

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