]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/reexport/export_extern_crate_as_self.rs
Rollup merge of #106477 - Nathan-Fenner:nathanf/refined-error-span-trait-impl, r...
[rust.git] / tests / rustdoc-json / reexport / export_extern_crate_as_self.rs
1 //! Regression test for <https://github.com/rust-lang/rust/issues/100531>
2
3 #![feature(no_core)]
4 #![no_core]
5
6 #![crate_name = "export_extern_crate_as_self"]
7
8 // ignore-tidy-linelength
9
10 // @is "$.index[*][?(@.kind=='module')].name" \"export_extern_crate_as_self\"
11 pub extern crate self as export_extern_crate_as_self; // Must be the same name as the crate already has