diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-09 18:46:46 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-04-15 07:46:46 +0000 |
| commit | 8a515aab76009e302efc52de54419334a76dc24e (patch) | |
| tree | 7cad9efc521a05293dab7c34757aebfad838f932 /tests/ui/limits | |
| parent | 3312a3053bb9996e56a5ed58b6b9306224ada727 (diff) | |
| download | rust-8a515aab76009e302efc52de54419334a76dc24e.tar.gz rust-8a515aab76009e302efc52de54419334a76dc24e.zip | |
Only enable ConstProp at mir-opt-level >= 2.
Diffstat (limited to 'tests/ui/limits')
| -rw-r--r-- | tests/ui/limits/issue-55878.stderr | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/ui/limits/issue-55878.stderr b/tests/ui/limits/issue-55878.stderr index 99f1fdf755a..510b36edd8f 100644 --- a/tests/ui/limits/issue-55878.stderr +++ b/tests/ui/limits/issue-55878.stderr @@ -25,14 +25,6 @@ LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>()); | = note: this note originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) -note: erroneous constant used - --> $DIR/issue-55878.rs:7:26 - | -LL | println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>()); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: this note originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) - error: aborting due to previous error For more information about this error, try `rustc --explain E0080`. |
