Implement #[define_opaque]
attribute for functions.
This commit is contained in:
parent
2c6a12ec44
commit
cb4751d4b8
653 changed files with 2911 additions and 2580 deletions
|
@ -43,6 +43,7 @@ declare_lint! {
|
|||
///
|
||||
/// type Tait = impl Sized;
|
||||
///
|
||||
/// #[define_opaque(Tait)]
|
||||
/// fn test() -> impl Trait<Assoc = Tait> {
|
||||
/// 42
|
||||
/// }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue