summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-json/reexport/export_extern_crate_as_self.rs
blob: f076feb7185a76bdccfce3457928c5331500be5a (plain)
1
2
3
4
5
6
7
8
9
10
11
//! Regression test for <https://github.com/rust-lang/rust/issues/100531>

#![feature(no_core)]
#![no_core]

#![crate_name = "export_extern_crate_as_self"]

// ignore-tidy-linelength

// @is "$.index[*][?(@.kind=='module')].name" \"export_extern_crate_as_self\"
pub extern crate self as export_extern_crate_as_self; // Must be the same name as the crate already has