include!
macro can't include files outside of project's directory.
#17507
Labels
C-bug
Category: bug
include!
macro can't include files outside of project's directory.
#17507
rust-analyzer version: VSCode 0.3.2011-standalone (2fd803c 2024-06-22)
rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)
editor or extension: VSCode
repository link (if public, optional):
https://github.com/DiscreteTom/rust-analyzer-include-issue
code snippet to reproduce:
Got error:
However this is compile-able and runable by
cargo build
orcargo run
.The text was updated successfully, but these errors were encountered: