Dylan MacKenzie
d6139f76c0
Update tests
2020-06-28 10:08:10 -07:00
Oliver Scherer
819cde5dab
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
Ralf Jung
aecab5e603
Rollup merge of #72045 - RalfJung:incomplete-unsound, r=petrochenkov
...
Incomplete features can also be unsound
Some incomplete features do not just ICE, they are also currently unsound (e.g. https://github.com/rust-lang/rust/pull/72029 , and also `specialization` -- which is not yet marked incomplete but [should be](https://github.com/rust-lang/rust/pull/71420 )). This makes the message reflect that.
While at it I also added a link to the tracking issue, which hopefully should explain what is incomplete/unsound about the feature.
2020-05-16 19:46:29 +02:00
Dylan DPC
a14af7fff8
Rollup merge of #72052 - lcnr:const_pprint, r=ecstatic-morse
...
display `ConstKind::Param`
2020-05-11 22:20:59 +02:00
Bastian Kauschke
0db2aec14a
display ConstKind::Param
2020-05-09 17:10:40 +02:00
Ralf Jung
6a8cf4a17c
adjust tests
2020-05-09 14:40:17 +02:00
Yuki Okushi
9a164ff4c5
Skip tests on emscripten
2020-05-08 00:39:02 +09:00
Yuki Okushi
e69748ba4f
Move tests from test/run-fail to UI
2020-05-06 14:02:55 +09:00
RoccoDev
b85c64c3ea
rustc: Add a warning count upon completion
2020-04-11 16:15:24 +02:00
Dylan DPC
8993358e77
Rollup merge of #70081 - lcnr:issue68387, r=varkor
...
add `unused_braces` lint
Add the lint `unused_braces` which is warn by default.
`unused_parens` is also extended and now checks anon consts.
closes #68387
r? @varkor
2020-04-01 00:27:20 +02:00
Bastian Kauschke
698b20eeda
update tests
2020-03-31 19:01:49 +02:00
Bastian Kauschke
a3df1db8ee
update tests, improve variable names
2020-03-30 19:34:16 +02:00
Bastian Kauschke
40c5eefdcd
add test for array len inference
2020-03-30 19:13:47 +02:00
Mazdak Farrokhzad
f5bd9646be
fix extra subslice lowering
2020-02-13 12:24:53 +01:00
Mazdak Farrokhzad
e3c2f8fc57
slice_patterns: organize some tests
2020-01-18 19:33:47 +01:00
Mazdak Farrokhzad
a1eadca88f
slice_patterns: remove gates in tests
2020-01-18 19:33:47 +01:00
Matthew Jasper
8c3c446648
Add more tests for slice patterns
2019-12-21 12:29:30 +00:00
Mazdak Farrokhzad
969a3743e6
Subslice patterns: Test passing static & dynamic semantics.
2019-07-30 10:46:30 +02:00
Mazdak Farrokhzad
75da43dc87
Use new 'p @ ..' syntax in tests.
2019-07-28 06:53:39 +02:00
Vadim Petrochenkov
9be35f82c1
tests: Move run-pass tests without naming conflicts to ui
2019-07-27 18:56:16 +03:00