sigmaSd / IRust

Cross Platform Rust Repl
https://crates.io/crates/irust
MIT License
609 stars 34 forks source link

Failed to format error output #138

Open jacks0n9 opened 4 months ago

jacks0n9 commented 4 months ago

To reproduce:

let a=0;
original_output:
    Checking irust_host_repl_70632017ec4f44a18208151fca7e7eff v0.1.0 (/private/var/folders/6h/gkhr_2654c590xgkf_zwk3t40000gn/T/irust_repls/irust_host_repl_70632017ec4f44a18208151fca7e7eff)
warning: unused variable: `a`
 --> src/main.rs:3:5
  |
3 | let a=0;
  |     ^ help: if this is intentional, prefix it with an underscore: `_a`
  |
  = note: `#[warn(unused_variables)]` on by default

warning: `irust_host_repl_70632017ec4f44a18208151fca7e7eff` (bin "irust_host_repl_70632017ec4f44a18208151fca7e7eff") generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
sigmaSd commented 4 months ago

Hello,I fixed this issue in 1.7.20 I think, can you try the latest version if your haven't already

jacks0n9 commented 4 months ago

Hello,I fixed this issue in 1.7.20 I think, can you try the latest version if your haven't already

bet