Skip to content

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

@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

Activity

dten

dten commented on Feb 21, 2017

@dten

What version of rust are you using?

ErichDonGubler

ErichDonGubler commented on Feb 21, 2017

@ErichDonGubler
Author

@dten:
nightly-x86_64-pc-windows-msvc: rustc 1.17.0-nightly
stable-x86_64-pc-windows-msvc: rustc 1.15.1

dten

dten commented on Feb 21, 2017

@dten

Oh wait this one is easier than I first thought.

Those messages are from Sublime, not this plugin
The style below is from this plugin. The style in your pictures are from the sublime setting "show_errors_inline"
image

edit: though I see you're not expecting those either..

jasonwilliams

jasonwilliams commented on Feb 24, 2017

@jasonwilliams
Member

Will see if i can replicate this this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @ErichDonGubler@jasonwilliams@dten

        Issue actions

          Build phantoms show file location shown instead of error message · Issue #154 · rust-lang/rust-enhanced