File tree 3 files changed +26
-1
lines changed
3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ use std::path::Path;
10
10
const ENTRY_LIMIT : usize = 1000 ;
11
11
// FIXME: The following limits should be reduced eventually.
12
12
const ROOT_ENTRY_LIMIT : usize = 939 ;
13
- const ISSUES_ENTRY_LIMIT : usize = 1998 ;
13
+ const ISSUES_ENTRY_LIMIT : usize = 2000 ;
14
14
15
15
fn check_entries ( path : & Path , bad : & mut bool ) {
16
16
for dir in Walk :: new ( & path. join ( "ui" ) ) {
Original file line number Diff line number Diff line change
1
+ fn main ( ) { }
2
+ fn foo ( ) -> bool {
3
+ & //~ ERROR 3:5: 5:36: mismatched types [E0308]
4
+ mut
5
+ if true { true } else { false }
6
+ }
Original file line number Diff line number Diff line change
1
+ error[E0308]: mismatched types
2
+ --> $DIR/issue-92741.rs:3:5
3
+ |
4
+ LL | fn foo() -> bool {
5
+ | ---- expected `bool` because of return type
6
+ LL | / &
7
+ LL | | mut
8
+ LL | | if true { true } else { false }
9
+ | |___________________________________^ expected `bool`, found `&mut bool`
10
+ |
11
+ help: consider removing the borrow
12
+ |
13
+ LL - &
14
+ LL - mut
15
+ |
16
+
17
+ error: aborting due to previous error
18
+
19
+ For more information about this error, try `rustc --explain E0308`.
You can’t perform that action at this time.
0 commit comments