Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Bug: DeopleteRustGoToDefinition panicks for certain definitions #32

@alexluecke

Description

@alexluecke

Steps to reproduce:

  1. Navigate to src/libstd/net/addr.rs in core rust source
  2. Find the code associated with SocketAddrV4:
pub struct SocketAddrV4 { inner: c::sockaddr_in }
  1. Hover over sockaddr_in and use gd command to go to definition

An error is produced:

Error detected while processing function <SNR>48_DeopleteRustGoToDefinition:
line   16:
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:373:21^@note: run with `RUST_BACKTRACE=1` e
nvironment variable to display a backtrace.^@
Press ENTER or type command to continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions