rust/tests/ui/proc-macro/issue-37788.rs
2024-02-16 20:02:50 +00:00

10 lines
230 B
Rust

//@ aux-build:test-macros.rs
#[macro_use]
extern crate test_macros;
fn main() {
// Test that constructing the `visible_parent_map` (in `cstore_impl.rs`) does not ICE.
std::cell::Cell::new(0) //~ ERROR mismatched types
}