Support doc comments on submodule (mod) items #6879 #6925
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler: parser
Everything to do with the parser
compiler
General compiler. Should eventually become more specific as the issue is triaged
P: low
team:compiler
Compiler Team
Currently, all attributes are forbidden on module items, including doc comments (
///
). E.g., the following is not allowed:This is unnecessary too restrictive and it breaks the semantic of having both inner and outer attributes and the possibility to combine them. In Rust, if both outer and inner doc comments are provided for a module they get combined in the doc for that modules, following the semantic of combining inner and outer attributes.
The text was updated successfully, but these errors were encountered: