]>
Commit | Line | Data |
---|---|---|
49aad941 FG |
1 | --- |
2 | source: codespan-reporting/tests/term.rs | |
3 | expression: 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 |