Using compile_fail doctests is convenient, but the code can fail to compile for other reasons than the intended one. So the only way to be sure is to strip out all the compile_fail markers, and recheck all the failures one by one. So using the compiletest_rs crate might make things easier in the long run.
Using compile_fail doctests is convenient, but the code can fail to compile for other reasons than the intended one. So the only way to be sure is to strip out all the
compile_fail
markers, and recheck all the failures one by one. So using the compiletest_rs crate might make things easier in the long run.