Swift enclosing a string in "#" [RUST style]

anyone here know “RUST”? Swift uses the RUST pattern for escaping a complete string. By enclosing the string inside of “#” so I have this

func test() {
  out(#""""#) // this does not work
  out(#"\"""#) // this does not work
  out(#"\"#) // this does work
  out(#"\\"#) // this does work

All the docs I can find (Swift and Rust both) indicate all 4 should work

Based on testing in Swift and others checking out Rust, it seems there is a BUG in Swift :frowning:

All combinations work, EXCEPT is the string consists of nothing but double quote characters