Skip to content
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

Rust: add flag to turn off extractor path resolution #18813

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rust: move nested ql test out
  • Loading branch information
Paolo Tranquilli committed Feb 19, 2025
commit 9b6f0da1c19f84236acb72ebcc43d4f7bb3ff05c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// would prefer to write `include!("../anonymous.rs");`
// but it seems `include!` does not work in rust-analyzer/our extractor
// would prefer to write `include!("../canonical_paths/anonymous.rs");`
// but `include!` does not work with out-of-dir files

use super::regular::Trait;

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// would prefer to write `include!("../regular.rs");`
// but it seems `include!` does not work in rust-analyzer/our extractor
// would prefer to write `include!("../canonical_path/regular.rs");
// but `include!` does not work with out-of-dir files

#[derive(Eq, PartialEq)]
pub struct Struct;