Skip to content

Instantly share code, notes, and snippets.

@ritz078
Created September 6, 2017 20:29
Show Gist options
  • Select an option

  • Save ritz078/1be714dea593838587c8a5df463a583a to your computer and use it in GitHub Desktop.

Select an option

Save ritz078/1be714dea593838587c8a5df463a583a to your computer and use it in GitHub Desktop.
A list of reserved keywords in Rust Language.
module.exports = [
"as",
"use",
"extern crate",
"break",
"const",
"continue",
"crate",
"else",
"if",
"if let",
"enum",
"extern",
"false",
"fn",
"for",
"if",
"impl",
"in",
"for",
"let",
"loop",
"match",
"mod",
"move",
"mut",
"pub",
"impl",
"ref",
"return",
"Self",
"self",
"static",
"struct",
"super",
"trait",
"true",
"type",
"unsafe",
"use",
"where",
"while",
"abstract",
"alignof",
"become",
"box",
"do",
"final",
"macro",
"offsetof",
"override",
"priv",
"proc",
"pure",
"sizeof",
"typeof",
"unsized",
"virtual",
"yield"
]
@mavenried
Copy link

mavenried commented Aug 12, 2024

umm.
well thanks for the keywords. needed those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment