Skip to content

Commit 079d1c4

Browse files
jyn514calebcartwright
authored andcommitted
Update log to 0.4.14
This avoids the following warning: ``` warning: trailing semicolon in macro used in expression position --> /home/joshua/.local/lib/cargo/registry/src/jiasu.xzqcsaa.nyc.mn-1ecc6299db9ec823/log-0.4.11/src/macros.rs:152:45 | 147 | / macro_rules! debug { 148 | | (target: $target:expr, $($arg:tt)+) => ( 149 | | log!(target: $target, $crate::Level::Debug, $($arg)+); 150 | | ); 151 | | ($($arg:tt)+) => ( 152 | | log!($crate::Level::Debug, $($arg)+); | | ^ 153 | | ) 154 | | } | |_- in this expansion of `debug!` | ::: src/tools/rustfmt/src/modules/visitor.rs:36:23 | 36 | Err(e) => debug!("{}", e), | --------------- in this macro invocation | = note: requested on the command line with `-W semicolon-in-expressions-from-macros` = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 <#79813> ```
1 parent b349437 commit 079d1c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,11 +1985,11 @@ dependencies = [
19851985

19861986
[[package]]
19871987
name = "log"
1988-
version = "0.4.11"
1988+
version = "0.4.14"
19891989
source = "registry+https://github.com/rust-lang/crates.io-index"
1990-
checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
1990+
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
19911991
dependencies = [
1992-
"cfg-if 0.1.10",
1992+
"cfg-if 1.0.0",
19931993
]
19941994

19951995
[[package]]

src/tools/rustfmt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ unicode-segmentation = "1.0.0"
4242
regex = "1.0"
4343
term = "0.6"
4444
diff = "0.1"
45-
log = "0.4"
45+
log = "0.4.14"
4646
env_logger = "0.6"
4747
getopts = "0.2"
4848
derive-new = "0.5"

0 commit comments

Comments
 (0)