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

failed to write request: The pipe is being closed. (os error 232) #978

Closed
morvagergely opened this issue Feb 22, 2022 · 5 comments
Closed

Comments

@morvagergely
Copy link

Rust analyzer produces this error when using the example code in vscode.

use slint::slint;

slint! {
    HelloWorld := Window {
        Text {
            text: "hello world";
            color: green;
        }
    }
}

fn main() {
    HelloWorld::new().run();
}

rust-analyzer version: 02904e99a 2022-02-14 stable
rustc version: 1.58.1 (db9d1b20b 2022-01-20)
slint version: 0.2.0

There has been a similar issue which has been closed.

@ogoffart
Copy link
Member

This is a rust analyzer bug.
rust-lang/rust-analyzer#10766 is marked as closed, but there is another problem that causes the same symtoms. I see this error with a bunch of other macros.
You can configure rust analyzer to hide this error.

@ogoffart ogoffart added a:editor integration VSCode extension, treesitter, and other editor integration (mT,bO) and removed a:editor integration VSCode extension, treesitter, and other editor integration (mT,bO) labels Mar 12, 2022
@snylonue
Copy link

snylonue commented Jul 24, 2022

I find the errors occurs every time I edit Cargo.toml. If I reload RA, they will disapper.

@ogoffart
Copy link
Member

What version of rust and rust analyzer are you using?

@snylonue
Copy link

snylonue commented Jul 25, 2022

rust-analyzer version: 0.3.1131-standalone (897a7ec4b 2022-07-17)
rustc 1.63.0-nightly (e71440575 2022-06-02)

And sorry that I thought this issue was under rust-analyzer repo.

@ogoffart
Copy link
Member

I'm closing this issue because this is probably just a bug in rust-analyzer. https://github.com/rust-lang/rust-analyzer/issues/12673

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

No branches or pull requests

3 participants