This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
d3a9bb1bd4
rust
/
src
/
test
/
compile-fail
/
deref-non-pointer.rs
6 lines
89 B
Rust
Raw
Normal View
History
Unescape
Escape
Improve a type error message (avoid the word 'non-dereferenceable')
2012-03-07 16:14:34 -06:00
// error-pattern:cannot be dereferenced
fn
main
(
)
{
alt
*
1
{
Switch alts to use arrows
2012-08-03 21:59:04 -05:00
_
=
>
{
fail
;
}
Improve a type error message (avoid the word 'non-dereferenceable')
2012-03-07 16:14:34 -06:00
}
}
Reference in New Issue
Copy Permalink