alloy-rs / alloy-rs/ruint

`ruint-macro/src/lib`: BLOCKED) Replace with Diagnostic API when stable.

未关闭
#96 0 条评论 0 个 reaction 已指派 1 人 已被 @recmo 认领 在 GitHub 查看
feature tracker
主要语言
Rust
星标
225
派生
70
平均合并
16 小时 54 分钟
30 天内合并 PR
8

描述

*On 2022-05-28 @recmo wrote in [`1ec2e50`](https://github.com/recmo/uint/commit/1ec2e50003548890260e8c06886f44fd826bc07b) “Recognize new tags”:*

BLOCKED) Replace with Diagnostic API when stable.
See

```rust
);
TokenStream::from_str(&source).unwrap()
}

/// Construct a compiler error message.
// FEATURE: (BLOCKED) Replace with Diagnostic API when stable.
// See
fn error(span: Span, message: &str) -> TokenStream {
// See: https://docs.rs/syn/1.0.70/src/syn/error.rs.html#243
TokenStream::from_iter(vec![
TokenTree::Ident(Ident::new("compile_error", span)),
TokenTree::Punct({

```
*From [`ruint-macro/src/lib.rs:24`](https://github.com/recmo/uint/blob/1ec2e50003548890260e8c06886f44fd826bc07b/ruint-macro/src/lib.rs#L24)*

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。