Skip to main content

KOTLIN_BANNER

Constant KOTLIN_BANNER 

Source
pub const KOTLIN_BANNER: &str = "// Auto-generated by kotlin-codegen — do not edit by hand.";
Expand description

The default first line of every generated file — the “do not edit” marker a reader needs to know the file is machine-written.

A file renders this line unless KtFile::banner sets one of its own, in which case that text is used verbatim — and "" suppresses the line entirely. Public so a consumer prepending its own header, or recognising a file as machine-written, has something to match against.