Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better missing file errors #451

Merged
merged 3 commits into from
Mar 3, 2024
Merged

Conversation

max-sixty
Copy link
Sponsor Collaborator

I tracked down #380 at last.

This doesn't solve the problem, but does show which file is being deleted, so it's not such a mystery. A future PR could change how these are handled so it's more permissive.

For example:

error: File error for `/Users/maximilian/workspace/prql/prqlc/prqlc-parser/src/.lexer.rs.pending-snap': No such file or directory (os error 2)

I tracked down mitsuhiko#380 at last.

This doesn't solve the problem, but does show which file is being deleted, so it's not such a mystery. A future PR could change how these are handled so it's more permissive.

For example:

```
error: File error for `/Users/maximilian/workspace/prql/prqlc/prqlc-parser/src/.lexer.rs.pending-snap': No such file or directory (os error 2)
```
src/content/mod.rs Outdated Show resolved Hide resolved
@mitsuhiko mitsuhiko merged commit 1fc3983 into mitsuhiko:master Mar 3, 2024
6 checks passed
@max-sixty max-sixty deleted the better-file-errors branch March 3, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants