OxL Reference

kw init

Reserved keyword

The list of words: §1.4

Syntax

ebnf
ImplMember  = { Attr } [ Vis ] ( Receiver ( "fn" | "op" ) Sig ( Block | "=>" Expr )
            | "override" "fn" Sig ( Block | "=>" Expr ) | "open" "fn" Sig ( Block | "=>" Expr )
            | "init" Sig ( Block | "=>" Expr ) | "dep" Ident ":" Type | Rpc | Const ) ;

Grammar: App. A

Defined in

Related diagnostics

bad-init, missing-field, must-close, positional-literal, sealed-literal, impl-foreign-type, unknown-method

See also