Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
unsafe-binders
/
type-mismatch.rs
blob: 9ac4e817c28b33a484d22c210c9b0146aebe5c43 [
file
] [
log
] [
blame
]
#![
feature
(
unsafe_binders
)]
//~^ WARN the feature `unsafe_binders` is incomplete
fn
main
()
{
let
x
:
unsafe
<>
i32
=
0
;
//~^ ERROR mismatched types
let
x
:
unsafe
<
'a> &'
a i32
=
&
0
;
//~^ ERROR mismatched types
}