As of Rust 1.34, the new [`TryFrom`](https://doc.rust-lang.org/std/convert/trait.TryFrom.html) interfaces are stable in the standard library. We should use these in place of the `cast` crate where applicable. For examples of how to do this, see [the corresponding PR in Cranelift](https://github.com/CraneStation/cranelift/pull/785), although note that Wasmtime uses `cast` much more extensively.
Activity
kubkon commentedon May 31, 2019
That's a great idea, so I'll +1 this!
Merge pull request bytecodealliance#169 from rvolosatovs/feat/preview1
Basic stack pooling allocator (bytecodealliance#169)
spec: positions on spec expressions (bytecodealliance#170)
spec: positions on spec expressions (bytecodealliance#170)
veri: expression and error positional information (bytecodealliance#194)
program: add `error_at_pos` helper (bytecodealliance#247)
sovler: positional errors (bytecodealliance#261)
solver: associate error to the right position
type inference: debug diagnostic with positions (bytecodealliance#287)
Merge pull request bytecodealliance#169 from alexcrichton/merge-