Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-3080.rs
blob: 883f3bfd24e8345c1b7ca92987080a847f262ae0 [
file
] [
log
] [
blame
]
struct
X
(());
impl
X
{
pub
unsafe
fn
with
(&
self
)
{
}
}
fn
main
()
{
X
(()).
with
();
//~ ERROR requires unsafe function or block
}