gpt-4o-search-preview-high· OpenAI
LMArena Search Arena 24K
在当前最新已发布的rust编译器稳定版本内,如下哪个功能尚未支持: A trait upcast B async closure C let chain D inline…
- User
在当前最新已发布的rust编译器稳定版本内,如下哪个功能尚未支持: A trait upcast B async closure C let chain D inline const
- Assistant
截至2025年4月,Rust最新的稳定版本是1.85.0。在此版本中,选项B(async closure)、选项C(let chain)和选项D(inline const)均已被支持。然而,选项A(trait upcast)尚未在稳定版本中得到支持。
具体而言,Rust 1.85.0引入了对async closure的支持,允许使用
async || {}语法定义异步闭包。[1]inline const功能在Rust 1.79.0中已被稳定,允许在表达式中嵌入常量值。[2]
let chain功能在Rust 1.84.0中被引入,提供了更灵活的模式匹配和绑定语法。[3]
然而,trait upcast功能尚未在稳定版本中实现。
因此,在当前最新的Rust稳定版本中,选项A(trait upcast)尚未被支持。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.