ui_test 0.30.4

A test framework for testing rustc diagnostics output
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: variable does not need to be mutable
 --> examples_tests/rustc_basic/foomp-rustfix.rs:4:9
  |
4 |     let mut x = 42;
  |         ----^
  |         |
  |         help: remove this `mut`
  |
note: the lint level is defined here
 --> examples_tests/rustc_basic/foomp-rustfix.rs:1:9
  |
1 | #![deny(warnings)]
  |         ^^^^^^^^
  = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]`

error: aborting due to 1 previous error