Skip to content

Commit bfc6ad0

Browse files
authored
Do not use clippy_utils from UI tests (#14788)
changelog: none r? @flip1995
2 parents 54aa120 + 01e08a4 commit bfc6ad0

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ pulldown-cmark = { version = "0.11", default-features = false, features = ["html
4747
askama = { version = "0.13", default-features = false, features = ["alloc", "config", "derive"] }
4848

4949
# UI test dependencies
50-
clippy_utils = { path = "clippy_utils" }
5150
if_chain = "1.0"
5251
quote = "1.0.25"
5352
syn = { version = "2.0", features = ["full"] }

tests/ui/let_underscore_untyped.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
extern crate proc_macros;
77
use proc_macros::with_span;
88

9-
use clippy_utils::is_from_proc_macro;
109
use std::boxed::Box;
1110
use std::fmt::Display;
1211
use std::future::Future;

tests/ui/let_underscore_untyped.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
error: non-binding `let` without a type annotation
2-
--> tests/ui/let_underscore_untyped.rs:51:5
2+
--> tests/ui/let_underscore_untyped.rs:50:5
33
|
44
LL | let _ = a();
55
| ^^^^^^^^^^^^
66
|
77
help: consider adding a type annotation
8-
--> tests/ui/let_underscore_untyped.rs:51:10
8+
--> tests/ui/let_underscore_untyped.rs:50:10
99
|
1010
LL | let _ = a();
1111
| ^
1212
= note: `-D clippy::let-underscore-untyped` implied by `-D warnings`
1313
= help: to override `-D warnings` add `#[allow(clippy::let_underscore_untyped)]`
1414

1515
error: non-binding `let` without a type annotation
16-
--> tests/ui/let_underscore_untyped.rs:53:5
16+
--> tests/ui/let_underscore_untyped.rs:52:5
1717
|
1818
LL | let _ = b(1);
1919
| ^^^^^^^^^^^^^
2020
|
2121
help: consider adding a type annotation
22-
--> tests/ui/let_underscore_untyped.rs:53:10
22+
--> tests/ui/let_underscore_untyped.rs:52:10
2323
|
2424
LL | let _ = b(1);
2525
| ^
2626

2727
error: non-binding `let` without a type annotation
28-
--> tests/ui/let_underscore_untyped.rs:56:5
28+
--> tests/ui/let_underscore_untyped.rs:55:5
2929
|
3030
LL | let _ = d(&1);
3131
| ^^^^^^^^^^^^^^
3232
|
3333
help: consider adding a type annotation
34-
--> tests/ui/let_underscore_untyped.rs:56:10
34+
--> tests/ui/let_underscore_untyped.rs:55:10
3535
|
3636
LL | let _ = d(&1);
3737
| ^
3838

3939
error: non-binding `let` without a type annotation
40-
--> tests/ui/let_underscore_untyped.rs:58:5
40+
--> tests/ui/let_underscore_untyped.rs:57:5
4141
|
4242
LL | let _ = e();
4343
| ^^^^^^^^^^^^
4444
|
4545
help: consider adding a type annotation
46-
--> tests/ui/let_underscore_untyped.rs:58:10
46+
--> tests/ui/let_underscore_untyped.rs:57:10
4747
|
4848
LL | let _ = e();
4949
| ^
5050

5151
error: non-binding `let` without a type annotation
52-
--> tests/ui/let_underscore_untyped.rs:60:5
52+
--> tests/ui/let_underscore_untyped.rs:59:5
5353
|
5454
LL | let _ = f();
5555
| ^^^^^^^^^^^^
5656
|
5757
help: consider adding a type annotation
58-
--> tests/ui/let_underscore_untyped.rs:60:10
58+
--> tests/ui/let_underscore_untyped.rs:59:10
5959
|
6060
LL | let _ = f();
6161
| ^

0 commit comments

Comments
 (0)