dtolnay/cxx

Expand API of cxx_gen::Error

Open

#378 建立於 2020年10月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (4,472 star) (253 fork)batch import
help wanted

描述

https://docs.rs/cxx-gen/0.5.2/cxx_gen/struct.Error.html currently only exposes a Display/Debug impl which is not sufficient to produce diagnostics in the style that cxx-build and cxxbridge-cmd do. We'll want to expose the location information, and/or possibly a way to retrieve a rendered diagnostic containing the source snippet.

貢獻者指南