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

don't print a span from DUMMY_SP #24587

Closed
pnkfelix opened this Issue Apr 19, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@pnkfelix
Copy link
Member

pnkfelix commented Apr 19, 2015

(imported from improperly closed bug #22222)

Errors like:

../../../src/librustc_driver/lib.rs:1:1: 1:1 error: multiple dylib candidates for `std` found
../../../src/librustc_driver/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
                                      ^
../../../src/librustc_driver/lib.rs:1:1: 1:1 note: candidate #1: /home/julian/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4e7c5e5c.so
../../../src/librustc_driver/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
                                      ^
../../../src/librustc_driver/lib.rs:1:1: 1:1 note: candidate #2: /home/julian/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/libstd-4e7c5e5c.so
../../../src/librustc_driver/lib.rs:1 // Copyright 2014 The Rust Project Developers. See the COPYRIGHT
                                      ^

are frustrating. What purpose is the span serving there -- at most it's going to, what, put someone into the correct root directory? We might be better off not printing spans at all in these cases.

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Dec 1, 2016

Lot's changed.

@brson brson closed this Dec 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.