summary refs log tree commit diff
path: root/tests/ui/hygiene/panic-location.rs
blob: 580a8bcff05fa7537f582e0b0931c9f149245acf (plain)
1
2
3
4
5
6
7
8
9
10
//@ run-fail
//@ check-run-results
//@ exec-env:RUST_BACKTRACE=0
//@ normalize-stderr-test: ".rs:\d+:\d+" -> ".rs:LL:CC"
//
// Regression test for issue #70963
// The reported panic location should not be `<::core::macros::panic macros>`.
fn main() {
    std::collections::VecDeque::<String>::with_capacity(!0);
}