Open pacak opened 2 years ago
This is likely out of date at this point
This is likely out of date at this point
FWIW example I posted is still crashes in 1.79.0:
Error: Parse error: no resolution scope for file
Stack backtrace:
0: <anyhow::Error as core::convert::From<ide_ssr::errors::SsrError>>::from
1: <rust_analyzer::cli::flags::Ssr>::run
2: rust_analyzer::main
3: std::sys_common::backtrace::__rust_begin_short_backtrace::<fn() -> core::result::Result<std::process::ExitCode, anyhow::Error>, core::result::Result<std::process::ExitCode, anyhow::Error>>
4: std::rt::lang_start::<core::result::Result<std::process::ExitCode, anyhow::Error>>::{closure#0}
5: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/ops/function.rs:284:13
6: std::panicking::try::do_call
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40
7: std::panicking::try
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19
8: std::panic::catch_unwind
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14
9: std::rt::lang_start_internal::{{closure}}
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:141:48
10: std::panicking::try::do_call
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:559:40
11: std::panicking::try
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:523:19
12: std::panic::catch_unwind
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panic.rs:149:14
13: std::rt::lang_start_internal
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/rt.rs:141:20
14: main
15: __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
16: __libc_start_main_impl
at ./csu/../csu/libc-start.c:392:3
17: <unknown>
% rust-analyzer --version
rust-analyzer 1.79.0 (129f3b9 2024-06-10)
That's a new one (sorry i only judget by the original backtrace which shouldnt happen anymore)
Cargo.toml
Cargo.lock
src/lib.rs