rustc/tests/rustdoc-json/blanket_impls.rs
2023-08-02 10:33:26 +02:00

9 lines
339 B
Rust

// Regression test for <https://github.com/rust-lang/rust/issues/98658>
#![no_std]
// @has "$.index[*][?(@.name=='Error')].kind" \"assoc_type\"
// @has "$.index[*][?(@.name=='Error')].inner.default.kind" \"resolved_path\"
// @has "$.index[*][?(@.name=='Error')].inner.default.inner.name" \"Infallible\"
pub struct ForBlanketTryFromImpl;