Closed
Description
A crate that uses the core library gets a mysterious error message with a dummy span.
#[link(name = "rustmeta",
vers = "0.2",
uuid = "f19085c3-dd45-467d-b76b-cb07e5ecd13c")];
#[crate_type = "lib"];
use core(vers = "0.2");
use std(vers = "0.2");
use rustsyntax(vers = "0.2");
import core::*;
import syntax = rustsyntax;
../src/librustmeta/rustmeta.rc:1:0: 1:0 error: duplicate definition of module core
../src/librustmeta/rustmeta.rc:1 #[link(name = "rustmeta",
We know this happened because of the injected core library, so we should say so.