Skip to content

Panic in inlay_hints #3310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kjeremy opened this issue Feb 25, 2020 · 7 comments
Closed

Panic in inlay_hints #3310

kjeremy opened this issue Feb 25, 2020 · 7 comments

Comments

@kjeremy
Copy link
Contributor

kjeremy commented Feb 25, 2020

If I open up markdown.rs I see the following trace:

[Trace - 5:06:03 PM] Sending notification 'textDocument/didOpen'.
[Trace - 5:06:03 PM] Sending notification '$/cancelRequest'.
[Trace - 5:06:03 PM] Sending request 'textDocument/codeAction - (1115)'.
[Trace - 5:06:03 PM] Sending notification '$/cancelRequest'.
[Trace - 5:06:03 PM] Sending notification '$/cancelRequest'.
[Trace - 5:06:03 PM] Sending request 'rust-analyzer/inlayHints - (1116)'.
[Trace - 5:06:03 PM] Sending request 'textDocument/documentSymbol - (1117)'.
[Trace - 5:06:03 PM] Received response 'textDocument/codeLens - (1113)' in 3098ms. Request failed: canceled by client (-32800).
[Trace - 5:06:03 PM] Received response 'rust-analyzer/inlayHints - (1105)' in 6436ms. Request failed: canceled by client (-32800).
[Trace - 5:06:03 PM] Received response 'textDocument/documentSymbol - (1117)' in 13ms.
[Trace - 5:06:03 PM] Sending request 'textDocument/semanticTokens - (1118)'.
[Trace - 5:06:03 PM] Received response 'textDocument/codeAction - (1115)' in 47ms. Request failed: content modified (-32801).
[Trace - 5:06:03 PM] Received response 'rust-analyzer/inlayHints - (1116)' in 46ms. Request failed: content modified (-32801).
[Trace - 5:06:03 PM] Received response 'textDocument/semanticTokens - (1118)' in 4ms. Request failed: content modified (-32801).
[Trace - 5:06:03 PM] Sending request 'rust-analyzer/inlayHints - (1119)'.
[Trace - 5:06:03 PM] Sending request 'textDocument/documentSymbol - (1120)'.
[Trace - 5:06:03 PM] Received response 'textDocument/documentSymbol - (1120)' in 2ms.
[Trace - 5:06:03 PM] Sending request 'textDocument/foldingRange - (1121)'.
[Trace - 5:06:03 PM] Received response 'textDocument/foldingRange - (1121)' in 1ms.
[Trace - 5:06:03 PM] Sending request 'textDocument/codeLens - (1122)'.

Notice that the last inlayHints and codeLens requests never finish.

This corresponds with a panic:

thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: salsa::derived::slot::Slot<DB,Q,MP>::read
19: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
20: ::parse_macro
21: ra_hir_expand::db::parse_or_expand
22: ra_hir_expand::db::ast_id_map
23: salsa::runtime::Runtime::execute_query_implementation
24: core::ptr::real_drop_in_place
25: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
26: core::ptr::real_drop_in_place
27: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
28: core::ptr::real_drop_in_place
29: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
30: core::ptr::real_drop_in_place
31: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
32: core::ptr::real_drop_in_place
33: salsa::derived::slot::Slot<DB,Q,MP>::read
34: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
35: salsa::QueryTable<DB,Q>::get
36: ra_hir::source_binder::SourceBinder::to_module_def
37: ra_hir::source_binder::SourceBinder::find_container
38: ::to_id
39: ra_hir::source_binder::SourceBinder::find_container
40: ra_hir::source_binder::SourceBinder::analyze
41: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
42: ra_ide::inlay_hints::inlay_hints
43: std::panicking::try::do_call
44: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
45: ra_db::CheckCanceled::catch_canceled
46: ra_ide::Analysis::inlay_hints
47: rust_analyzer::main_loop::handlers::handle_inlay_hints
48: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

@kjeremy
Copy link
Contributor Author

kjeremy commented Feb 25, 2020

After setting RUST_BACKTRACE=full I can't seem to reproduce... classic.

@kjeremy
Copy link
Contributor Author

kjeremy commented Feb 25, 2020

Here are a bunch of different panics from the same run:

thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::arg
15: ra_hir_expand::db::macro_arg
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
29: core::ptr::real_drop_in_place
30: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
31: core::ptr::real_drop_in_place
32: salsa::derived::slot::Slot<DB,Q,MP>::read
33: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
34: salsa::QueryTable<DB,Q>::get
35: ra_hir::source_binder::SourceBinder::to_module_def
36: ra_hir::source_binder::SourceBinder::find_container
37: ::to_id
38: ra_hir::source_binder::SourceBinder::find_container
39: ra_hir::source_binder::SourceBinder::analyze
40: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
41: ra_ide::inlay_hints::inlay_hints
42: std::panicking::try::do_call
43: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
44: ra_db::CheckCanceled::catch_canceled
45: ra_ide::Analysis::inlay_hints
46: rust_analyzer::main_loop::handlers::handle_inlay_hints
47: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::arg
15: ra_hir_expand::db::macro_arg
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
29: core::ptr::real_drop_in_place
30: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
31: core::ptr::real_drop_in_place
32: salsa::derived::slot::Slot<DB,Q,MP>::read
33: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
34: salsa::QueryTable<DB,Q>::get
35: ra_hir::source_binder::SourceBinder::to_module_def
36: ra_hir::source_binder::SourceBinder::find_container
37: ::to_id
38: ra_hir::source_binder::SourceBinder::find_container
39: ra_hir::source_binder::SourceBinder::analyze
40: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
41: ra_ide::inlay_hints::inlay_hints
42: std::panicking::try::do_call
43: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
44: ra_db::CheckCanceled::catch_canceled
45: ra_ide::Analysis::inlay_hints
46: rust_analyzer::main_loop::handlers::handle_inlay_hints
47: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_ide::diagnostics::diagnostics
33: std::panicking::try::do_call
34: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
35: ra_db::CheckCanceled::catch_canceled
36: ra_ide::Analysis::diagnostics
37: rust_analyzer::main_loop::handlers::publish_diagnostics
38: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_ide::runnables::runnable
35: <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
36: <alloc::vec::Vec as alloc::vec::SpecExtend<T,I>>::from_iter
37: ra_ide::runnables::runnables
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::runnables
42: rust_analyzer::main_loop::handlers::handle_code_lens
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [72128; 72345), kind: MACRO_CALL }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: core::ptr::real_drop_in_place
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: salsa::derived::slot::Slot<DB,Q,MP>::read
29: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
30: salsa::QueryTable<DB,Q>::get
31: ra_hir::source_binder::SourceBinder::to_module_def
32: ra_hir::source_binder::SourceBinder::find_container
33: ::to_id
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
37: ra_ide::inlay_hints::inlay_hints
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::inlay_hints
42: rust_analyzer::main_loop::handlers::handle_inlay_hints
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::arg
15: ra_hir_expand::db::macro_arg
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
29: core::ptr::real_drop_in_place
30: salsa::derived::slot::Slot<DB,Q,MP>::read
31: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
32: salsa::QueryTable<DB,Q>::get
33: ra_hir::source_binder::SourceBinder::to_module_def
34: ra_hir::source_binder::SourceBinder::find_container
35: ::to_id
36: ra_hir::source_binder::SourceBinder::find_container
37: ra_hir::source_binder::SourceBinder::analyze
38: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
39: ra_ide::inlay_hints::inlay_hints
40: std::panicking::try::do_call
41: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
42: ra_db::CheckCanceled::catch_canceled
43: ra_ide::Analysis::inlay_hints
44: rust_analyzer::main_loop::handlers::handle_inlay_hints
45: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::arg
15: ra_hir_expand::db::macro_arg
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
29: core::ptr::real_drop_in_place
30: salsa::derived::slot::Slot<DB,Q,MP>::read
31: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
32: salsa::QueryTable<DB,Q>::get
33: ra_hir::source_binder::SourceBinder::to_module_def
34: ra_hir::source_binder::SourceBinder::find_container
35: ra_hir::source_binder::SourceBinder::analyze
36: ra_ide::syntax_highlighting::highlight
37: std::panicking::try::do_call
38: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
39: ra_db::CheckCanceled::catch_canceled
40: ra_ide::Analysis::highlight
41: rust_analyzer::main_loop::handlers::publish_decorations
42: rust_analyzer::main_loop::handlers::publish_decorations
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::arg
15: ra_hir_expand::db::macro_arg
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
19: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
20: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
21: core::ptr::real_drop_in_place
22: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
23: core::ptr::real_drop_in_place
24: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
25: core::ptr::real_drop_in_place
26: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
27: core::ptr::real_drop_in_place
28: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
29: core::ptr::real_drop_in_place
30: salsa::derived::slot::Slot<DB,Q,MP>::read
31: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
32: salsa::QueryTable<DB,Q>::get
33: ra_hir::source_binder::SourceBinder::to_module_def
34: ra_hir::source_binder::SourceBinder::find_container
35: ::to_id
36: ra_ide::runnables::runnable
37: <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
38: <alloc::vec::Vec as alloc::vec::SpecExtend<T,I>>::from_iter
39: ra_ide::runnables::runnables
40: std::panicking::try::do_call
41: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
42: ra_db::CheckCanceled::catch_canceled
43: ra_ide::Analysis::runnables
44: rust_analyzer::main_loop::handlers::handle_code_lens
45: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: salsa::derived::slot::Slot<DB,Q,MP>::read
19: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
20: ::parse_macro
21: ra_hir_expand::db::parse_or_expand
22: ra_hir_expand::db::ast_id_map
23: salsa::runtime::Runtime::execute_query_implementation
24: core::ptr::real_drop_in_place
25: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
26: core::ptr::real_drop_in_place
27: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
28: core::ptr::real_drop_in_place
29: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
30: core::ptr::real_drop_in_place
31: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
32: core::ptr::real_drop_in_place
33: salsa::derived::slot::Slot<DB,Q,MP>::read
34: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
35: salsa::QueryTable<DB,Q>::get
36: ra_hir::source_binder::SourceBinder::to_module_def
37: ra_ide::diagnostics::diagnostics
38: std::panicking::try::do_call
39: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
40: ra_db::CheckCanceled::catch_canceled
41: ra_ide::Analysis::diagnostics
42: rust_analyzer::main_loop::handlers::publish_diagnostics
43: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: salsa::derived::slot::Slot<DB,Q,MP>::read
19: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
20: ::parse_macro
21: ra_hir_expand::db::parse_or_expand
22: ra_hir_expand::db::ast_id_map
23: salsa::runtime::Runtime::execute_query_implementation
24: core::ptr::real_drop_in_place
25: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
26: core::ptr::real_drop_in_place
27: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
28: core::ptr::real_drop_in_place
29: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
30: core::ptr::real_drop_in_place
31: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
32: core::ptr::real_drop_in_place
33: salsa::derived::slot::Slot<DB,Q,MP>::read
34: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
35: salsa::QueryTable<DB,Q>::get
36: ra_hir::source_binder::SourceBinder::to_module_def
37: ra_hir::source_binder::SourceBinder::find_container
38: ::to_id
39: ra_hir::source_binder::SourceBinder::find_container
40: ra_hir::source_binder::SourceBinder::analyze
41: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
42: ra_ide::inlay_hints::inlay_hints
43: std::panicking::try::do_call
44: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
45: ra_db::CheckCanceled::catch_canceled
46: ra_ide::Analysis::inlay_hints
47: rust_analyzer::main_loop::handlers::handle_inlay_hints
48: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: salsa::derived::slot::Slot<DB,Q,MP>::read
19: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
20: ::parse_macro
21: ra_hir_expand::db::parse_or_expand
22: ra_hir_expand::db::ast_id_map
23: salsa::runtime::Runtime::execute_query_implementation
24: core::ptr::real_drop_in_place
25: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
26: core::ptr::real_drop_in_place
27: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
28: core::ptr::real_drop_in_place
29: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
30: core::ptr::real_drop_in_place
31: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
32: core::ptr::real_drop_in_place
33: salsa::derived::slot::Slot<DB,Q,MP>::read
34: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
35: salsa::QueryTable<DB,Q>::get
36: ra_hir::source_binder::SourceBinder::to_module_def
37: ra_hir::source_binder::SourceBinder::find_container
38: ::to_id
39: ra_ide::runnables::runnable
40: <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
41: <alloc::vec::Vec as alloc::vec::SpecExtend<T,I>>::from_iter
42: ra_ide::runnables::runnables
43: std::panicking::try::do_call
44: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
45: ra_db::CheckCanceled::catch_canceled
46: ra_ide::Analysis::runnables
47: rust_analyzer::main_loop::handlers::handle_code_lens
48: ::call_box
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at 'can't resolve local ptr to SyntaxNode: SyntaxNodePtr { range: [1146; 1298), kind: ENUM_DEF }', crates\ra_syntax\src\ptr.rs:30:28
stack backtrace:
0: backtrace::backtrace::trace_unsynchronized
at C:\Users\VssAdministrator.cargo\registry\src\git.colasdn.top-1ecc6299db9ec823\backtrace-0.3.40\src\backtrace\mod.rs:66
1: std::sys_common::backtrace::_print_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:84
2: std::sys_common::backtrace::_print::{{impl}}::fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:61
3: core::fmt::write
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libcore\fmt\mod.rs:1025
4: std::io::Write::write_fmtstd::sys::windows::stdio::Stderr
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\io\mod.rs:1426
5: std::sys_common::backtrace::_print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:65
6: std::sys_common::backtrace::print
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\sys_common\backtrace.rs:50
7: std::panicking::default_hook::{{closure}}
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:193
8: std::panicking::default_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:210
9: std::panicking::rust_panic_with_hook
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:471
10: std::panicking::begin_panic_handler
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:375
11: std::panicking::begin_panic_fmt
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libstd\panicking.rs:326
12: ra_syntax::ptr::SyntaxNodePtr::to_node
13: ra_hir_expand::InFile<ra_hir_expand::ast_id_map::FileAstId>::to_node
14: ra_hir_expand::MacroCallKind::node
15: ra_hir_expand::db::parse_macro
16: salsa::runtime::Runtime::execute_query_implementation
17: core::ptr::real_drop_in_place
18: salsa::derived::slot::Slot<DB,Q,MP>::read
19: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
20: ::parse_macro
21: ra_hir_expand::db::parse_or_expand
22: ra_hir_expand::db::ast_id_map
23: salsa::runtime::Runtime::execute_query_implementation
24: core::ptr::real_drop_in_place
25: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
26: core::ptr::real_drop_in_place
27: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
28: core::ptr::real_drop_in_place
29: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
30: core::ptr::real_drop_in_place
31: <salsa::derived::slot::Slot<DB,Q,MP> as salsa::dependency::DatabaseSlot>::maybe_changed_since
32: core::ptr::real_drop_in_place
33: salsa::derived::slot::Slot<DB,Q,MP>::read
34: <salsa::derived::DerivedStorage<DB,Q,MP> as salsa::plumbing::QueryStorageOps<DB,Q>>::try_fetch
35: salsa::QueryTable<DB,Q>::get
36: ra_hir::source_binder::SourceBinder::to_module_def
37: ra_hir::source_binder::SourceBinder::find_container
38: ::to_id
39: ra_hir::source_binder::SourceBinder::find_container
40: ra_hir::source_binder::SourceBinder::analyze
41: <once_cell::unsync::Lazy<T,F> as core::ops::deref::Deref>::deref
42: ra_ide::inlay_hints::inlay_hints
43: std::panicking::try::do_call
44: panic_unwind::__rust_maybe_catch_panic
at /rustc/5e1a799842ba6ed4a57e91f7ab9435947482f7d8/src\libpanic_unwind\lib.rs:78
45: ra_db::CheckCanceled::catch_canceled
46: ra_ide::Analysis::inlay_hints
47: rust_analyzer::main_loop::handlers::handle_inlay_hints
48: ::call_box
note: Some details are omitted, run with

@Veetaha
Copy link
Contributor

Veetaha commented Feb 26, 2020

@kjeremy , FYI, I recommend using spoilers for long wall of logs:

<details>
<summary> Spoiler text </summary>

```
Log goes here
```
</details>
Spoiler text
Log goes here

@matklad
Copy link
Member

matklad commented Feb 26, 2020

Or gists

@uberjay
Copy link

uberjay commented Mar 3, 2020

I'm seeing this, too, with latest master build as of 30 minutes ago (ce69561).

There's quite a lot of output on panic, so I've dumped it all into a gist: https://gist.github.com/uberjay/bb1848c36b634a04d8ff26838085872f

Something pretty serious seems to be wrong, as I'm getting these crashes with a freshly created (hello-world!) binary crate!

@uberjay
Copy link

uberjay commented Mar 4, 2020

(fwiw, I am using lsp-mode in emacs!)

If i disable inlay-hints mode, then I get a panic below handle_hover instead: https://gist.github.com/uberjay/568c9c5c3e2fbb17246595493cb95a7e

@lnicola
Copy link
Member

lnicola commented Mar 4, 2020

@uberjay that's a different issue (#3392 (comment)).

@kjeremy kjeremy closed this as completed Apr 11, 2020
lnicola pushed a commit to lnicola/rust-analyzer that referenced this issue Apr 7, 2024
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this issue Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants