Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c343bbd
update miri
RalfJung Nov 28, 2018
682f0f8
Consider references and unions potentially inhabited during privacy-r…
varkor Nov 20, 2018
d2b3407
Add a test for uninhabitedness changes
varkor Nov 20, 2018
32a8dec
Clarify undecided semantics
varkor Nov 20, 2018
46ef9f8
Fix broken tests
varkor Nov 20, 2018
1cdf5df
Fix error message after rebase
varkor Nov 29, 2018
113ae0f
update miri
RalfJung Nov 30, 2018
1560a75
Refer to the second borrow as the "second borrow".
wildarch Nov 30, 2018
aa5a4ef
Removed feature gate.
alexreg Nov 30, 2018
7bc1255
Removed chapter from Unstable Book.
alexreg Nov 30, 2018
d609fdf
Updated ui tests.
alexreg Nov 30, 2018
f107514
Deal with EINTR in net timeout tests
cuviper Nov 30, 2018
f4cde5b
stabilize std::dbg!(...)
Centril Dec 1, 2018
4c2c523
Move VecDeque::resize_with out of the impl<T:Clone> block
scottmcm Dec 1, 2018
a3b7a21
Improve the unstable book example for `#[marker]`
scottmcm Dec 1, 2018
df0ab06
Update tracking issue for `extern_crate_self`
petrochenkov Dec 1, 2018
08a6cf3
Remove unneeded body class selector
GuillaumeGomez Dec 1, 2018
12c9b79
Fix failing tidy (line endings on Windows)
petrochenkov Dec 1, 2018
e7e9692
remove some uses of try!
mark-i-m Dec 1, 2018
074f975
Explain raw identifer syntax
mark-i-m Dec 2, 2018
1fca907
link to raw identifiers
mark-i-m Dec 2, 2018
1e18cc9
Update issue number of `shrink_to` methods to point the tracking issue
ordovicia Dec 2, 2018
63b7bf8
Rollup merge of #56110 - varkor:inhabitedness-union-enum, r=cramertj
Centril Dec 2, 2018
07504b2
Rollup merge of #56305 - RalfJung:miri, r=oli-obk
Centril Dec 2, 2018
1e8c93c
Rollup merge of #56366 - alexreg:stabilise-self_in_typedefs, r=Centril
Centril Dec 2, 2018
05aedcb
Rollup merge of #56372 - wildarch:issue-55314-second-borrow-ref, r=da…
Centril Dec 2, 2018
4e94bec
Rollup merge of #56394 - cuviper:interrupted-timeout, r=sfackler
Centril Dec 2, 2018
aa92cc9
Rollup merge of #56395 - Centril:stabilize-dbg-macro, r=SimonSapin
Centril Dec 2, 2018
f352eec
Rollup merge of #56401 - scottmcm:vecdeque-resize-with, r=dtolnay
Centril Dec 2, 2018
101e116
Rollup merge of #56402 - scottmcm:better-marker-trait-example, r=Centril
Centril Dec 2, 2018
3993dc9
Rollup merge of #56412 - petrochenkov:extself, r=Centril
Centril Dec 2, 2018
298e681
Rollup merge of #56416 - GuillaumeGomez:css-body, r=QuietMisdreavus
Centril Dec 2, 2018
6311bde
Rollup merge of #56418 - petrochenkov:wintidy, r=nagisa
Centril Dec 2, 2018
705da41
Rollup merge of #56419 - mark-i-m:remove-try, r=Centril
Centril Dec 2, 2018
e292b3c
Rollup merge of #56424 - mark-i-m:explain-raw, r=Centril
Centril Dec 2, 2018
c03c34c
Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril
Centril Dec 2, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix error message after rebase
  • Loading branch information
varkor committed Nov 29, 2018
commit 1cdf5df4517eabc4e4db86fc4b67a4fa984d3800
4 changes: 2 additions & 2 deletions src/test/ui/always-inhabited-union-ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ fn uninhab_union() -> Foo {

fn match_on_uninhab() {
match uninhab_ref() {
//~^ ERROR non-exhaustive patterns: type &'static ! is non-empty
//~^ ERROR non-exhaustive patterns: type `&'static !` is non-empty
}

match uninhab_union() {
//~^ ERROR non-exhaustive patterns: type Foo is non-empty
//~^ ERROR non-exhaustive patterns: type `Foo` is non-empty
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/always-inhabited-union-ref.stderr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
error[E0004]: non-exhaustive patterns: type &'static ! is non-empty
error[E0004]: non-exhaustive patterns: type `&'static !` is non-empty
--> $DIR/always-inhabited-union-ref.rs:23:11
|
LL | match uninhab_ref() {
Expand All @@ -10,7 +10,7 @@ help: ensure that all possible cases are being handled, possibly by adding wildc
LL | match uninhab_ref() {
| ^^^^^^^^^^^^^

error[E0004]: non-exhaustive patterns: type Foo is non-empty
error[E0004]: non-exhaustive patterns: type `Foo` is non-empty
--> $DIR/always-inhabited-union-ref.rs:27:11
|
LL | match uninhab_union() {
Expand Down