In Statement prefixes§

See primary documentation in context for quietly

As a prefix, quietly suppresses all runtime warnings produced by the block or statement it precedes.

sub marine() {};
quietly say ~&marine# OUTPUT: «marine␤» 
sub told-you { warn 'hey...' };
quietly { told-youwarn 'kaput!' };
warn 'Telling you now!';  # OUTPUT: «Telling you now!␤ [...] ␤» 

Calling .Str on code produces a warning. Preceding the code with quietly will just produce the output without warning.