Skip to content

Instantly share code, notes, and snippets.

@chenhengqi
Last active June 1, 2020 12:31
Show Gist options
  • Save chenhengqi/f480507de8a4da460df86699a334e5a8 to your computer and use it in GitHub Desktop.
Save chenhengqi/f480507de8a4da460df86699a334e5a8 to your computer and use it in GitHub Desktop.
Rust: xxx syntax is experimental

When rustc complains that xxx syntax is experimental, switch to nightly build

$ rustup toolchain install nightly
$ rustup default nightly

If some feature has to be activated, the compiler usually say which one.

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