Skip to content

Support Goto Definition into include!  #3767

Closed
@cynecx

Description

@cynecx

settings.json (vscode):

{
    "rust-analyzer.cargoFeatures.loadOutDirsFromCheck": true,
}

rust-analyzer: 1c2d4135db867efe335a0654d86429bea7bb9caf (current master)

How to reproduce:

  1. Add lapin = { version = "0.34" } to your deps.
  2. Use this code snippet:
use lapin::{
    message::Delivery,
    options::{BasicAckOptions, BasicConsumeOptions, BasicRejectOptions},
    types::FieldTable,
    Connection, ConnectionProperties,
};

BasicAckOptions, BasicConsumeOptions and BasicRejectOptions come from proc-macro. "Go to definition" doesn't work on them. It works but redirects you a wrong source-site.

Metadata

Metadata

Labels

A-macromacro expansionS-actionableSomeone could pick this issue up and work on it right now

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions