summaryrefslogtreecommitdiffstats
path: root/tests/ui-toml/array_size_threshold/array_size_threshold.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
commit631cd5845e8de329d0e227aaa707d7ea228b8f8f (patch)
treea1b87c8f8cad01cf18f7c5f57a08f102771ed303 /tests/ui-toml/array_size_threshold/array_size_threshold.stderr
parentAdding debian version 1.69.0+dfsg1-1. (diff)
downloadrustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.tar.xz
rustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.zip
Merging upstream version 1.70.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui-toml/array_size_threshold/array_size_threshold.stderr')
-rw-r--r--tests/ui-toml/array_size_threshold/array_size_threshold.stderr29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/ui-toml/array_size_threshold/array_size_threshold.stderr b/tests/ui-toml/array_size_threshold/array_size_threshold.stderr
deleted file mode 100644
index ac017b209..000000000
--- a/tests/ui-toml/array_size_threshold/array_size_threshold.stderr
+++ /dev/null
@@ -1,29 +0,0 @@
-error: large array defined as const
- --> $DIR/array_size_threshold.rs:4:1
- |
-LL | const ABOVE: [u8; 11] = [0; 11];
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | help: make this a static item: `static`
- |
- = note: `-D clippy::large-const-arrays` implied by `-D warnings`
-
-error: allocating a local array larger than 10 bytes
- --> $DIR/array_size_threshold.rs:4:25
- |
-LL | const ABOVE: [u8; 11] = [0; 11];
- | ^^^^^^^
- |
- = help: consider allocating on the heap with `vec![0; 11].into_boxed_slice()`
- = note: `-D clippy::large-stack-arrays` implied by `-D warnings`
-
-error: allocating a local array larger than 10 bytes
- --> $DIR/array_size_threshold.rs:8:17
- |
-LL | let above = [0u8; 11];
- | ^^^^^^^^^
- |
- = help: consider allocating on the heap with `vec![0u8; 11].into_boxed_slice()`
-
-error: aborting due to 3 previous errors
-