blob: 9a36e82b049fe261a2afc22817942c40491f64f2 [file]
//! Regression test for <https://github.com/rust-lang/rust/issues/38954>.
//! Test we emit helpful error message instead of silently failing.
fn _test(ref _p: str) {}
//~^ ERROR the size for values of type
fn main() { }