# Variables are immutable

We declare variables using the `let` keyword, and despite calling them variables, in Rust they are immutable by default and the compile enforces this.

{% embed include file="src/examples/variables/immutable-number/src/main.rs" %}

This is the error message:

{% embed include file="src/examples/variables/immutable-number/out.out" %}

---

* let

