You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling demo v0.1.0 (file:///home/usel/_t2/demo)
src/main.rs:1:1: 1:10 error: expected item, found `something`
src/main.rs:1:1: 1:10 src/main.rs:1 errorsomething:
expected item, found `something`^~~~~~~~~
errorsrc/main.rs: aborting due to previous error:1
something
^~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: Could not compile `demo`.
To learn more, run the command again with --verbose.
Expected output
Compiling demo v0.1.0 (file:///[...]/demo)
src/main.rs:1:1: 1:10 error: expected item, found `something`
src/main.rs:1 something
^~~~~~~~~
error: aborting due to previous error
error: Could not compile `demo`.
To learn more, run the command again with --verbose.
[more text]
The text was updated successfully, but these errors were encountered:
Thanks for the report! This is actually a dupe of #1198 which is also being fixed over at rust-lang/rust#35975, so I'm going to close in favor of those.
If you build two different binaries from the same source files, error messages are repeated and mostly garbled.
How to reproduce
Actual output
Expected output
The text was updated successfully, but these errors were encountered: