1 warning: taking a mutable reference to a `const` item
2 --> $DIR/thir-constparam-temp.rs:14:5
7 = note: `#[warn(const_item_mutation)]` on by default
8 = note: each usage of a `const` item creates a new temporary
9 = note: the mutable reference will refer to this temporary, not the original `const` item
10 note: mutable reference created due to call to this method
11 --> $DIR/thir-constparam-temp.rs:10:5
13 LL | fn mut_self(&mut self) {}
14 | ^^^^^^^^^^^^^^^^^^^^^^
15 note: `const` item defined here
16 --> $DIR/thir-constparam-temp.rs:13:8
18 LL | fn foo<const YIKES: Yikes>() {
21 warning: 1 warning emitted