Files
rust/tests/ui/hygiene/panic-location.rs

11 lines
309 B
Rust
Raw Normal View History

//@ run-fail
//@ check-run-results
//@ exec-env:RUST_BACKTRACE=0
//@ normalize-stderr: ".rs:\d+:\d+" -> ".rs:LL:CC"
2020-03-17 11:45:02 -04:00
//
// Regression test for issue #70963
2024-08-18 21:00:40 +03:00
// The reported panic location should not be `<::core::macros::panic macros>`.
2020-03-17 11:45:02 -04:00
fn main() {
std::collections::VecDeque::<String>::with_capacity(!0);
}