diff options
| author | bors <bors@rust-lang.org> | 2022-03-24 20:22:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-24 20:22:27 +0000 |
| commit | 63b8f01bb5ca277e7df8d7efe094ed4244c1790c (patch) | |
| tree | f4246d5d6dda964e54872e7cc58af2c7fe6b74ff /src/test/codegen | |
| parent | 4b133a7e27c32e822e9ff774e4436f184f5a9752 (diff) | |
| parent | 440946af11391c50cda9f691fda0a507981d0268 (diff) | |
| download | rust-63b8f01bb5ca277e7df8d7efe094ed4244c1790c.tar.gz rust-63b8f01bb5ca277e7df8d7efe094ed4244c1790c.zip | |
Auto merge of #94934 - Lireer:const-prop-lint, r=oli-obk
Separate const prop lints from optimizations r? `@oli-obk` Separates lints and optimizations during const prop by moving the lints into their own file and checking them during post borrowck cleanup. Thanks to `@oli-obk` for mentoring me.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/consts.rs b/src/test/codegen/consts.rs index 1a84f1a4479..e6afbe49864 100644 --- a/src/test/codegen/consts.rs +++ b/src/test/codegen/consts.rs @@ -10,7 +10,7 @@ // CHECK: @STATIC = {{.*}}, align 4 // This checks the constants from inline_enum_const -// CHECK: @alloc9 = {{.*}}, align 2 +// CHECK: @alloc12 = {{.*}}, align 2 // This checks the constants from {low,high}_align_const, they share the same // constant, but the alignment differs, so the higher one should be used |
