summary refs log tree commit diff
path: root/src/test/ui/issue-12997-2.stderr
blob: 3030ee4779b4b71cc2fde28e532e526a5017b8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-12997-2.rs:16:1
   |
LL | fn bar(x: isize) { }
   | ^^^^^^^^^^^^^^^^^^^^ expected isize, found mutable reference
   |
   = note: expected type `isize`
              found type `&mut __test::test::Bencher`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.