           (with-temp-buffer
             (rust-mode)
             (insert original)
-            (font-lock-ensure)
+            (font-lock-fontify-buffer)
 
             (goto-char point-pos)
             (deactivate-mark)

    \n    // The previous line already has its spaces
}
")
    (font-lock-ensure)
    (goto-line 11)
    (move-to-column 0)
    (indent-for-tab-command)

1......................500......................50
\"#;
")
    (font-lock-fontify-buffer)
    (goto-char 530)
    (insert "#")
    ;; We have now closed the raw string.  Check that the whole string is
