From b43bec380f4de54ca0557b7115cf3b020569edef Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sat, 20 Feb 2021 14:15:26 -0500 Subject: Update some crates --- Cargo.lock | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f672225c6..e8d9020d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -149,9 +149,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.66" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48" +checksum = "e3c69b077ad434294d3ce9f1f6143a2a4b89a8a2d54ef813d85003a4fd1137fd" [[package]] name = "cfg" @@ -418,9 +418,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece68d15c92e84fa4f19d3780f1294e5ca82a78a6d515f1efaabcc144688be00" +checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191" dependencies = [ "matches", "percent-encoding", @@ -657,9 +657,9 @@ dependencies = [ [[package]] name = "idna" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de910d521f7cc3135c4de8db1cb910e0b5ed1dc6f57c381cd07e8e661ce10094" +checksum = "89829a5d69c23d348314a7ac337fe39173b61149a9864deabd260983aed48c21" dependencies = [ "matches", "unicode-bidi", @@ -918,9 +918,9 @@ dependencies = [ [[package]] name = "mio" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e50ae3f04d169fcc9bde0b547d1c205219b7157e07ded9c5aff03e0637cb3ed7" +checksum = "dc250d6848c90d719ea2ce34546fb5df7af1d3fd189d10bf7bad80bfcebecd95" dependencies = [ "libc", "log", @@ -941,9 +941,9 @@ dependencies = [ [[package]] name = "notify" -version = "5.0.0-pre.5" +version = "5.0.0-pre.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58e54552360d7b89a698eca6de3927205a8e03e8080dc13d779de5c7876e098b" +checksum = "e5fd82b93434edb9c00ae65ee741e0e081cdc8c63346ab9f687935a629aaf4c3" dependencies = [ "anymap", "bitflags", @@ -1700,9 +1700,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d40a22fd029e33300d8d89a5cc8ffce18bb7c587662f54629e94c9de5487f3" +checksum = "f77d3842f76ca899ff2dbcf231c5c65813dea431301d6eb686279c15c4464f12" dependencies = [ "cfg-if", "pin-project-lite", @@ -1712,9 +1712,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f080ea7e4107844ef4766459426fa2d5c1ada2e47edba05dc7fa99d9629f47" +checksum = "a8a9bd1db7706f2373a190b0d067146caa39350c486f3d455b0e33b431f94c07" dependencies = [ "proc-macro2", "quote", @@ -1732,9 +1732,9 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0f8c7178e13481ff6765bd169b33e8d554c5d2bbede5e32c356194be02b9b9" +checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3" dependencies = [ "lazy_static", "log", @@ -1753,9 +1753,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1fa8f0c8f4c594e4fc9debc1990deab13238077271ba84dd853d54902ee3401" +checksum = "8ab8966ac3ca27126141f7999361cc97dd6fb4b71da04c02044fa9045d98bb96" dependencies = [ "ansi_term", "chrono", @@ -1849,9 +1849,9 @@ checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" [[package]] name = "url" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5909f2b0817350449ed73e8bcd81c8c3c8d9a7a5d8acba4b27db277f1868976e" +checksum = "9ccd964113622c8e9322cfac19eb1004a07e636c545f325da085d5cdde6f1f8b" dependencies = [ "form_urlencoded", "idna", -- cgit v1.2.3 From 1f3c637a1d6daa06a7c0fa303993a6aa63cc841a Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sat, 20 Feb 2021 14:59:05 -0500 Subject: Update tests --- .../diagnostics/test_data/clippy_pass_by_ref.txt | 22 ++++++++++++++++++++++ .../test_data/handles_macro_location.txt | 4 ++++ .../diagnostics/test_data/macro_compiler_error.txt | 6 ++++++ .../rustc_incompatible_type_for_trait.txt | 4 ++++ .../test_data/rustc_mismatched_type.txt | 4 ++++ .../test_data/rustc_unused_variable.txt | 10 ++++++++++ .../test_data/rustc_unused_variable_as_hint.txt | 10 ++++++++++ .../test_data/rustc_unused_variable_as_info.txt | 10 ++++++++++ .../test_data/rustc_wrong_number_of_parameters.txt | 12 ++++++++++++ .../diagnostics/test_data/snap_multi_line_fix.txt | 22 ++++++++++++++++++++++ 10 files changed, 104 insertions(+) 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 ce80476fb..23ec2efba 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -55,6 +59,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/lib.rs", @@ -78,6 +84,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", @@ -107,6 +115,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/lib.rs", @@ -136,6 +146,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -160,6 +172,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", @@ -189,6 +203,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", @@ -218,6 +234,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -242,6 +260,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", @@ -281,6 +301,8 @@ { Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/mir/tagset.rs", 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 eb4a6b597..e5f01fb33 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "doc.rust-lang.org", 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 bdcf2a38f..f999848a7 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/crates/hir_def/src/path.rs", @@ -34,6 +36,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/crates/hir_def/src/data.rs", @@ -63,6 +67,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/crates/hir_def/src/data.rs", 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 19f72196d..0d16af232 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/ty/list_iter.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "doc.rust-lang.org", 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 15ac95d72..31b6a12ce 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/runtime/compiler_support.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "doc.rust-lang.org", 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 5c282fe67..b6acb5f42 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -38,6 +40,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -71,6 +75,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -107,6 +113,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -146,6 +154,8 @@ { Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", 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 d36d7693d..d765257c4 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -38,6 +40,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -71,6 +75,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -107,6 +113,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -146,6 +154,8 @@ { Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", 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 17845b711..6b0d94878 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -38,6 +40,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -71,6 +75,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -107,6 +113,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", @@ -146,6 +154,8 @@ { Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/driver/subcommand/repl.rs", 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 f455cf25e..f7a313cf1 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/ty/select.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "doc.rust-lang.org", @@ -55,6 +59,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/ty/select.rs", @@ -84,6 +90,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/ty/select.rs", @@ -113,6 +121,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "doc.rust-lang.org", @@ -137,6 +147,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/compiler/ty/select.rs", 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 a19962167..a0cfb8d33 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 @@ -2,6 +2,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -31,6 +33,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -55,6 +59,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -78,6 +84,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -107,6 +115,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -136,6 +146,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -160,6 +172,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -189,6 +203,8 @@ MappedRustDiagnostic { url: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -218,6 +234,8 @@ CodeDescription { href: Url { scheme: "https", + username: "", + password: None, host: Some( Domain( "rust-lang.github.io", @@ -242,6 +260,8 @@ location: Location { uri: Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", @@ -281,6 +301,8 @@ { Url { scheme: "file", + username: "", + password: None, host: None, port: None, path: "/test/src/main.rs", -- cgit v1.2.3