Files
rust/tests/rustdoc-js/opaque.rs
2026-07-30 20:06:26 -07:00

11 lines
306 B
Rust

// This test ensures that rustdoc doesn't crash when building the search index
// when an opaque type is being reexported from a dependency.
// Regression test for <https://github.com/rust-lang/rust/issues/160107>.
//@ aux-build: opaque.rs
#![crate_name = "foo"]
extern crate opaque;
pub use opaque::*;