   "\\(?:r#*\\)?\""
   "Regular expression to match the start of a Rust raw string.")
 
-(defvar rust-mode-font-lock-keywords
+(defvar rust-font-lock-keywords
   (append
    `(
      ;; Keywords proper
-     (,(regexp-opt rust-mode-keywords 'symbols) . font-lock-keyword-face)
+     (,(regexp-opt rust-keywords 'symbols) . font-lock-keyword-face)
 
      ;; Contextual keywords
      ("\\_<\\(default\\)[[:space:]]+fn\\_>" 1 font-lock-keyword-face)

  (setq-local indent-line-function 'rust-mode-indent-line)

  ;; Fonts
  (setq-local font-lock-defaults '(rust-mode-font-lock-keywords
                                   nil nil nil nil
                                   (font-lock-syntactic-face-function
                                    . rust-mode-syntactic-face-function)))

(defvar electric-pair-skip-self)
(defvar electric-indent-chars)

(defvar rust-buffer-project nil)
(make-variable-buffer-local 'rust-buffer-project)

(defun rust-re-word (inner) (concat "\\<" inner "\\>"))
