Skip to content

Build phantoms show file location shown instead of error message #154

Closed
@ErichDonGubler

Description

@ErichDonGubler

Sublime Text Version

Sublime Text 3 (Build 3126)

Rust Enhanced Version

v1.2.1

Operating system

Microsoft Windows 10
10.0.14393 Build 14393.577

Expected behavior

Phantoms shown like in the Sublime Text blog:

Actual behavior

Instead, we get:
image

Steps to reproduce

  1. Make a new project (e.g., with cargo new --bin)
  2. Modify the Hello, world! default main.rs to have some invalid syntax. In our example, let's do this:
    fn main() {adsf
        println!("Hello, world!");
    }
  3. Observe as the phantoms show the file name

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions