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.

贡献者指南

Expand API of cxx_gen::Error · dtolnay/cxx#378 | Good First Issue