rust/tests/ui/proc-macro/issue-37788.rs
2023-01-11 09:32:08 +00:00

10 lines
229 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
}