Sign in
◑
Theme
rust
/
rust
/
a123594de1feec1732ed9251135bc42ccaaef8f3
/
.
/
tests
/
ui
/
unsized
/
unsized-ref-fn-param.rs
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
()
{
}