Use `warning(missing_directives)` message kind when printing warning messages for missing directives