File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "owner" :" clippy" ,
3+ "problemMatcher" : [
4+ {
5+ "owner" : " cargo-clippy" ,
6+ "pattern" : [
7+ {
8+ "regexp" : " ^(error|warning): (.*)$" ,
9+ "severity" : 1 ,
10+ "code" : 2
11+ },
12+ {
13+ "regexp" : " ^\\ s+--> (.*):(\\ d+):(\\ d+)$" ,
14+ "file" : 1 ,
15+ "line" : 2 ,
16+ "column" :3
17+ },
18+ {
19+ "regexp" : " ^(.+)$" ,
20+ "message" : 1 ,
21+ "loop" : true
22+ }
23+ ]
24+ }
25+ ]
26+ }
Original file line number Diff line number Diff line change 2727 ~/.cargo/git/db/
2828 target/
2929 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
30+ - run : echo "::add-matcher::.github/clippy-matcher.json"
3031 - run : cargo clippy --all-targets --all-features -- -D warnings
3132 run-tests :
3233 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ mod tests {
201201 #[ tokio:: test]
202202 #[ should_panic]
203203 async fn test_create_document ( ) {
204+ let blaA="" ;
204205 // Create the inputs your handler expects
205206 let input: TypedMultipart < TransformRequest > = TypedMultipart ( TransformRequest {
206207 image : FieldData {
You can’t perform that action at this time.
0 commit comments