]> git.proxmox.com Git - rustc.git/blame - vendor/codespan-reporting/tests/snapshots/term__same_line__rich_color.snap
New upstream version 1.71.1+dfsg1
[rustc.git] / vendor / codespan-reporting / tests / snapshots / term__same_line__rich_color.snap
CommitLineData
49aad941
FG
1---
2source: codespan-reporting/tests/term.rs
3expression: TEST_DATA.emit_color(&config)
4---
5{fg:Red bold bright}error[E0499]{bold bright}: cannot borrow `v` as mutable more than once at a time{/}
6 {fg:Blue}┌─{/} one_line.rs:3:12
7 {fg:Blue}│{/}
8{fg:Blue}3{/} {fg:Blue}│{/} v.push({fg:Red}v{/}.pop().unwrap());
9 {fg:Blue}│{/} {fg:Blue}-{/} {fg:Blue}----{/} {fg:Red}^{/} {fg:Red}second mutable borrow occurs here{/}
10 {fg:Blue}│{/} {fg:Blue}│{/} {fg:Blue}│{/}
11 {fg:Blue}│{/} {fg:Blue}│{/} {fg:Blue}first mutable borrow occurs here{/}
12 {fg:Blue}│{/} {fg:Blue}first borrow later used by call{/}
13
14{fg:Red bold bright}error{bold bright}: aborting due to previous error{/}
15 {fg:Blue}={/} For more information about this error, try `rustc --explain E0499`.
16
17