1 2 3 4 5 6 7 8 9 10 11 12 13
use std::fmt; // ^ @namespace enum Color { Red } // ^ @type.enum.variant fn f(self) { // ^ @variable.builtin println!("ok"); // ^ @function.macro self.helper(); // ^ @function.method let p = Point {}; // ^ @constructor }