That's what I use, too.
-
-
-
Very speculative, but worth a shot: is there any way to "intervene" on compiler errors to return something more relevant to the user? Seeing the current state of typenum I imagine that the answer is no unfortunately :/
- 1 more reply
New conversation -
-
-
-
Wow, that looks useful!
End of conversation
New conversation -
-
-
compiletest_rs worked very well for me, but my API was very similar to compilerhttps://github.com/retep007/javascript-es9-parser/tree/master/components/evaluator …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
You can write compile_fail doc tests, but I think the error string matching only works on nightly. e.g. in rayon:https://github.com/rayon-rs/rayon/tree/master/rayon-core/src/compile_fail …
-
It works on stable just fine. I have several stable crates that use it.
End of conversation
New conversation -
-
-
As a Dev n00b I wonder what could require such test ? Rustc is quite developed imho
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at