rCore-Tutorial-v3 icon indicating copy to clipboard operation
rCore-Tutorial-v3 copied to clipboard

Issues when bumping to at least nightly-2024-02-28

Open wyfcyx opened this issue 1 year ago • 1 comments
trafficstars

error:

error: the item `log` is imported redundantly
  --> src/logging.rs:7:11
   |
7  | use log::{self, Level, LevelFilter, Log, Metadata, Record};
   |           ^^^^ the item `log` is already defined here
   |
note: the lint level is defined here
  --> src/main.rs:11:9
   |
11 | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

error: could not compile `os` (bin "os") due to 1 previous error

warning:

warning: `/mnt/c/wsl/rCore-Tutorial-v3/os/.cargo/config` is deprecated in favor of `config.toml`

wyfcyx avatar Feb 29 '24 15:02 wyfcyx

所以要怎么改正这个错误

LliminM avatar Apr 09 '24 09:04 LliminM

此提交已成功完成Rust版本升级,故关闭此issue。

wyfcyx avatar Jun 01 '24 12:06 wyfcyx