diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-16 16:54:47 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-01 20:13:16 +0200 |
| commit | 74fb87e3a0bb88cd3bd9857bedc236bda52a8af7 (patch) | |
| tree | 0d0cb93dccd8dabac1ebbc365c6122b99f4332b3 /src/test/ui/issues | |
| parent | ad3407f482d29f26c67700974d86f89b3f2ab993 (diff) | |
| download | rust-74fb87e3a0bb88cd3bd9857bedc236bda52a8af7.tar.gz rust-74fb87e3a0bb88cd3bd9857bedc236bda52a8af7.zip | |
Stop sorting bodies by span.
The definition order is already close to the span order, and only differs in corner cases.
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. |
