Unnamed repository; edit this file 'description' to name the repository.
Bump deps
Laurențiu Nicola 2021-11-06
parent 5cd36e8 · commit d18a379
-rw-r--r--Cargo.lock39
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt8
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt12
11 files changed, 44 insertions, 87 deletions
diff --git a/Cargo.lock b/Cargo.lock
index afd1bbe6bc..2e2fe7d14c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4,9 +4,9 @@ version = 3
[[package]]
name = "addr2line"
-version = "0.16.0"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd"
+checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
dependencies = [
"gimli",
]
@@ -37,9 +37,9 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.44"
+version = "1.0.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61604a8f862e1d5c3229fdd78f8b02c68dcf73a4c4b05fd636d12240aaa242c1"
+checksum = "ee10e43ae4a853c0a3591d4e2ada1719e553be18199d9da9d4a83f5927c2f5c7"
[[package]]
name = "anymap"
@@ -78,9 +78,9 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
[[package]]
name = "backtrace"
-version = "0.3.62"
+version = "0.3.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "091bcdf2da9950f96aa522681ce805e6857f6ca8df73833d35736ab2dc78e152"
+checksum = "321629d8ba6513061f26707241fa9bc89524ff1cd7a915a97ef0c62c666ce1b6"
dependencies = [
"addr2line",
"cc",
@@ -432,9 +432,9 @@ checksum = "7ab85b9b05e3978cc9a9cf8fea7f01b494e1a09ed3037e16ba39edc7a29eb61a"
[[package]]
name = "gimli"
-version = "0.25.0"
+version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7"
+checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
[[package]]
name = "hashbrown"
@@ -727,9 +727,9 @@ dependencies = [
[[package]]
name = "inotify"
-version = "0.9.5"
+version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e5fc8f41dbaa9c8492a96c8afffda4f76896ee041d6a57606e70581b80c901f"
+checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
dependencies = [
"bitflags",
"inotify-sys",
@@ -807,9 +807,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
-version = "0.2.105"
+version = "0.2.106"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "869d572136620d55835903746bcb5cdc54cb2851fd0aeec53220b4bb65ef3013"
+checksum = "a60553f9a9e039a333b4e9b20573b9e9b9c0bb3a11e201ccc48ef4283456d673"
[[package]]
name = "libloading"
@@ -866,9 +866,9 @@ dependencies = [
[[package]]
name = "lsp-types"
-version = "0.91.0"
+version = "0.91.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "be7801b458592d0998af808d97f6a85a6057af3aaf2a2a5c3c677702bbeb4ed7"
+checksum = "2368312c59425dd133cb9a327afee65be0a633a8ce471d248e2202a48f8f68ae"
dependencies = [
"bitflags",
"serde",
@@ -1462,9 +1462,9 @@ dependencies = [
[[package]]
name = "serde_json"
-version = "1.0.68"
+version = "1.0.69"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8"
+checksum = "e466864e431129c7e0d3476b92f20458e5879919a0596c6472738d9fa2d342f8"
dependencies = [
"indexmap",
"itoa",
@@ -1500,9 +1500,12 @@ checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309"
[[package]]
name = "smol_str"
-version = "0.1.18"
+version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b203e79e90905594272c1c97c7af701533d42adaab0beb3859018e477d54a3b0"
+checksum = "61d15c83e300cce35b7c8cd39ff567c1ef42dde6d4a1a38dbdbf9a59902261bd"
+dependencies = [
+ "serde",
+]
[[package]]
name = "snap"
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
index a9c0edcf9f..fd04163de9 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 2,
- ),
+ Warning,
),
code: Some(
String(
@@ -142,9 +140,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
@@ -235,9 +231,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt b/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
index fd69097d05..a7f936a703 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 1,
- ),
+ Error,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
index 1c25a3ed69..8bee4cfe10 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: None,
code_description: None,
@@ -92,9 +90,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: None,
code_description: None,
@@ -161,9 +157,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 1,
- ),
+ Error,
),
code: None,
code_description: None,
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
index 653fb0130d..afc562a0e2 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 1,
- ),
+ Error,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
index f37e416b7b..05074a914b 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 1,
- ),
+ Error,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
index df73efe5f8..3ded70411d 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 2,
- ),
+ Warning,
),
code: Some(
String(
@@ -69,9 +67,7 @@
),
tags: Some(
[
- DiagnosticTag(
- 1,
- ),
+ Unnecessary,
],
),
data: None,
@@ -102,9 +98,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
index ad22a34d67..0993aa1af1 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
@@ -69,9 +67,7 @@
),
tags: Some(
[
- DiagnosticTag(
- 1,
- ),
+ Unnecessary,
],
),
data: None,
@@ -102,9 +98,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
index 1072d8a177..d7a974ae57 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 3,
- ),
+ Information,
),
code: Some(
String(
@@ -69,9 +67,7 @@
),
tags: Some(
[
- DiagnosticTag(
- 1,
- ),
+ Unnecessary,
],
),
data: None,
@@ -102,9 +98,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
index 3e043666aa..5ea27a1527 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 1,
- ),
+ Error,
),
code: Some(
String(
@@ -116,9 +114,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt b/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
index 67e442d73d..f77abde515 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
@@ -23,9 +23,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 2,
- ),
+ Warning,
),
code: Some(
String(
@@ -142,9 +140,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(
@@ -235,9 +231,7 @@
},
},
severity: Some(
- DiagnosticSeverity(
- 4,
- ),
+ Hint,
),
code: Some(
String(