diff options
| author | bors <bors@rust-lang.org> | 2021-09-03 14:47:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-03 14:47:13 +0000 |
| commit | 577a76f0031f727735410b99a5cc5f0b61b92eef (patch) | |
| tree | 60f9cfd8627c093755e9637a1f614f66e444b92a /src/test/ui/issues | |
| parent | c5799b2a73bd03d1d7b4a432fa0a0cb93e7288db (diff) | |
| parent | 5e3cd6a8b29b312c796c5a83afd4a5fa21513f8e (diff) | |
| download | rust-577a76f0031f727735410b99a5cc5f0b61b92eef.tar.gz rust-577a76f0031f727735410b99a5cc5f0b61b92eef.zip | |
Auto merge of #88597 - cjgillot:lower-global, r=petrochenkov
Move global analyses from lowering to resolution Split off https://github.com/rust-lang/rust/pull/87234 r? `@petrochenkov`
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-47486.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/issues/issue-47486.stderr b/src/test/ui/issues/issue-47486.stderr index cf95d309c63..a029948ca3b 100644 --- a/src/test/ui/issues/issue-47486.stderr +++ b/src/test/ui/issues/issue-47486.stderr @@ -1,15 +1,15 @@ +error[E0282]: type annotations needed + --> $DIR/issue-47486.rs:3:31 + | +LL | [0u8; std::mem::size_of::<_>()]; + | ^ cannot infer type + error[E0308]: mismatched types --> $DIR/issue-47486.rs:2:10 | LL | () < std::mem::size_of::<_>(); | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `usize` -error[E0282]: type annotations needed - --> $DIR/issue-47486.rs:3:11 - | -LL | [0u8; std::mem::size_of::<_>()]; - | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type - error: aborting due to 2 previous errors Some errors have detailed explanations: E0282, E0308. |
