mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
lint warn fix
This commit is contained in:
parent
e15424c1b7
commit
b9fbb3da17
1 changed files with 2 additions and 4 deletions
|
@ -116,10 +116,8 @@ pub fn main_loop(
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::error!("loading workspace failed: {:?}", e);
|
log::error!("loading workspace failed: {:?}", e);
|
||||||
|
|
||||||
if let Some(ra_project_model::CargoTomlNotFoundError {
|
if let Some(ra_project_model::CargoTomlNotFoundError { .. }) =
|
||||||
searched_at: _,
|
e.downcast_ref()
|
||||||
reason: _,
|
|
||||||
}) = e.downcast_ref()
|
|
||||||
{
|
{
|
||||||
if !feature_flags.get("notifications.cargo-toml-not-found") {
|
if !feature_flags.get("notifications.cargo-toml-not-found") {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue