diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/lint/lint-const-item-mutation.stderr (renamed from src/test/ui/lint/lint-const-item-mutation.stderr) | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/ui/lint/lint-const-item-mutation.stderr b/tests/ui/lint/lint-const-item-mutation.stderr index 9f4360e67..747c38b80 100644 --- a/src/test/ui/lint/lint-const-item-mutation.stderr +++ b/tests/ui/lint/lint-const-item-mutation.stderr @@ -108,9 +108,6 @@ LL | VEC.push(0); = note: the mutable reference will refer to this temporary, not the original `const` item note: mutable reference created due to call to this method --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL - | -LL | pub fn push(&mut self, value: T) { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `const` item defined here --> $DIR/lint-const-item-mutation.rs:31:1 | |