Guillaume Gomez
cc54a1f930
Clean up E0749 explanation
2020-08-09 13:53:27 +02:00
Yuki Okushi
e6dfd308d3
Rollup merge of #75292 - slanterns:cleanup-E0502, r=GuillaumeGomez
...
Clean up E0502
`ref` on an entire `let` pattern is discouraged, take a reference with `&` instead.
2020-08-09 06:41:39 +09:00
Yuki Okushi
bc3ee48fd2
Rollup merge of #75291 - GuillaumeGomez:cleanup-e0750, r=pickfire
...
Clean up E0750
r? @Dylan-DPC
2020-08-09 06:41:37 +09:00
Yuki Okushi
5bbdc73ebc
Rollup merge of #74712 - strom-und-spiele:E0271-cleanup, r=Mark-Simulacrum
...
Update E0271 explanation
When reading the explanation, I got confused by it. I hope the wording is clearer now.
2020-08-09 06:41:14 +09:00
Guillaume Gomez
259d350111
Clean up E0750 explanation
2020-08-08 21:17:36 +02:00
Slanterns
d8cf9aa693
Use &
instead of let ref
in E0502
...
`ref` on an entire `let` pattern is discouraged, take a reference with `&` instead.
2020-08-08 20:26:56 +08:00
strom-und-spiele
7e68b7d10a
Update E0271.md
...
remove references to non existing code,
expand solution suggestions
remove unneeded code in solution
2020-08-08 11:01:34 +02:00
Yuki Okushi
76086a2d76
Rollup merge of #75217 - GuillaumeGomez:cleanup-e0747, r=Dylan-DPC
...
Clean up E0747 explanation
r? @Dylan-DPC
2020-08-07 09:35:28 +09:00
Yuki Okushi
f49e47348d
Rollup merge of #75190 - GuillaumeGomez:cleanup-e0746, r=Dylan-DPC
...
Clean up E0746 explanation
r? @Dylan-DPC
2020-08-07 09:35:23 +09:00
Guillaume Gomez
57b517bf1d
Clean up E0747 explanation
2020-08-06 13:33:54 +02:00
Guillaume Gomez
cd4633917d
Clean up E0746 explanation
2020-08-05 14:14:21 +02:00
Yuki Okushi
008228a708
Rollup merge of #75140 - GuillaumeGomez:cleanup-e0745, r=pickfire
...
Clean up E0745
r? @Dylan-DPC
2020-08-05 11:40:07 +09:00
Guillaume Gomez
0275cd7409
Clean up E0745
2020-08-04 13:09:15 +02:00
Yuki Okushi
d4cc6d8394
Rollup merge of #75044 - GuillaumeGomez:cleanup-e0744, r=pickfire
...
Clean up E0744 explanation
r? @Dylan-DPC
2020-08-03 01:05:25 +09:00
Yuki Okushi
5323b9fd9c
Rollup merge of #74781 - GuillaumeGomez:cleanup-e0733, r=jyn514
...
Clean up E0733 explanation
r? @Dylan-DPC
2020-08-03 01:05:15 +09:00
Guillaume Gomez
093e45dce6
Clean up E0744 explanation
2020-08-02 13:26:02 +02:00
Guillaume Gomez
507f403f95
Clean up E0733 explanation
2020-08-02 13:24:40 +02:00
Manish Goregaokar
fac959b570
Rollup merge of #74720 - GuillaumeGomez:cleanup-e0728, r=jyn514
...
Clean up E0728 explanation
r? @Dylan-DPC
2020-08-01 17:42:13 -07:00
Manish Goregaokar
2e53ac53e7
Rollup merge of #75007 - GuillaumeGomez:cleanup-e0743, r=pickfire
...
Clean up E0743 explanation
r? @Dylan-DPC
2020-08-01 09:30:19 -07:00
Manish Goregaokar
60bf83d215
Rollup merge of #74977 - GuillaumeGomez:cleanup-e0741, r=pickfire
...
Clean up E0741 error explanation
r? @Dylan-DPC
2020-08-01 09:30:11 -07:00
Guillaume Gomez
4bd313fb0f
Clean up E0743 explanation
2020-08-01 15:19:00 +02:00
Guillaume Gomez
1a6730e31c
Clean up E0741 error explanation
2020-07-31 13:15:47 +02:00
Manish Goregaokar
2c6c764d9a
Rollup merge of #74907 - GuillaumeGomez:cleanup-e0740, r=pickfire
...
Clean up E0740 explanation
r? @Dylan-DPC
2020-07-30 13:04:38 -07:00
Manish Goregaokar
172b3a713a
Rollup merge of #74835 - GuillaumeGomez:cleanup-e0734, r=jyn514
...
Clean up E0734 explanation
r? @Dylan-DPC
2020-07-30 13:04:32 -07:00
Manish Goregaokar
7e86c8eccb
Rollup merge of #74751 - GuillaumeGomez:cleanup-e0730, r=jyn514
...
Clean up E0730 explanation
r? @Dylan-DPC
2020-07-30 13:04:23 -07:00
Guillaume Gomez
89e4fe3313
Improve E0730 explanation
2020-07-30 13:51:22 +02:00
Guillaume Gomez
759de11f53
Clean up E0740 explanation
2020-07-29 14:06:29 +02:00
Yuki Okushi
1ed74eeef9
Rollup merge of #74266 - GuillaumeGomez:cleanup-e0720, r=Dylan-DPC
...
Clean up E0720 explanation
r? @Dylan-DPC
2020-07-29 09:24:13 +09:00
Guillaume Gomez
f22a34e84d
Clean up E0734 explanation
2020-07-27 20:55:30 +02:00
bors
8cb94fc552
Auto merge of #74246 - GuillaumeGomez:cleanup-e0719, r=Dylan-DPC
...
Clean up E0719 explanation
r? @Dylan-DPC
2020-07-25 20:11:20 +00:00
Guillaume Gomez
1d2e3fff69
Clean up E0730 explanation
2020-07-25 18:57:42 +02:00
Guillaume Gomez
4031645691
Clean up E0728 explanation
2020-07-24 17:43:29 +02:00
Yuki Okushi
2406c932d7
Rollup merge of #74694 - GuillaumeGomez:cleanup-e0727, r=Dylan-DPC
...
Clean up E0727 explanation
r? @Dylan-DPC
2020-07-24 18:56:42 +09:00
Yuki Okushi
a816345536
Rollup merge of #74601 - GuillaumeGomez:cleanup-e0724, r=jyn514
...
Clean up E0724 explanation
r? @Dylan-DPC
2020-07-24 18:56:29 +09:00
Yuki Okushi
0651dd4aab
Rollup merge of #74572 - Mark-Simulacrum:unify-rustc-depr, r=petrochenkov
...
Internally unify rustc_deprecated and deprecated
This PR intentionally tries to be "featureless" in that the behavior is not altered for either attribute, though it more clearly exposes cases where that is the case in the code.
2020-07-24 18:56:27 +09:00
Guillaume Gomez
d6b50d8230
Clean up E0724 explanation
2020-07-23 21:16:16 +02:00
Guillaume Gomez
9be9d728e9
Clean up E0727 explanation
2020-07-23 21:11:40 +02:00
Esteban Küber
889a4d9a0b
Change error code number
2020-07-22 13:12:34 -07:00
Esteban Küber
7bf39fa9d9
Further tweak wording of E0759 and introduce E0767
2020-07-22 12:25:54 -07:00
Mark Rousskov
c5cc29b0e0
Parse rustc_deprecated as deprecated attribute
2020-07-20 21:22:14 -04:00
Gabriel Smith
69d5dd6a50
disallow non-static lifetimes in const generics
...
This has been put in place to patch over an ICE caused when we encounter
a non-static lifetime in a const generic during borrow checking. This
restriction may be relaxed in the future, but we need more discussion
before then, and in the meantime we should still deal with this ICE.
Fixes issue #60814
2020-07-19 12:52:36 -04:00
Vadim Petrochenkov
926ac5a2fd
rustc_metadata: Remove some extra diagnostics for legacy plugins
...
They are deprecated so doing extra work for error recovery doesn't make sense
2020-07-18 14:04:41 +04:00
Manish Goregaokar
5bb9bef795
Rollup merge of #74398 - GuillaumeGomez:cleanup-e0723, r=Dylan-DPC
...
Clean up E0723 explanation
r? @Dylan-DPC
2020-07-16 17:09:06 -07:00
Manish Goregaokar
6ef0dfa42f
Rollup merge of #74159 - lcnr:const-generic-ty-decl, r=varkor
...
forbid generic params in the type of const params
implements and closes #74152
fixes #74101 , closes #71169 , fixes #73491 , closes #62878
@eddyb and I talked [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/type.20of.20const.20parameters/near/203405696 ) about this and we probably want to also forbid generic consts in the default
type of a parameter, e.g. `struct Foo<T, U = [u8; std::mem::size_of::<T>()]>`, this is currently still allowed
and I will probably fix that in a followup PR.
r? @varkor @eddyb
2020-07-16 11:18:46 -07:00
Manish Goregaokar
cc38f6fbf7
Rollup merge of #73835 - GuillaumeGomez:cleanup-e0710, r=Dylan-DPC
...
Clean up E0710 explanation
r? @Dylan-DPC
2020-07-16 11:18:33 -07:00
Manish Goregaokar
6309d9fb58
Rollup merge of #73794 - GuillaumeGomez:cleanup-e0705, r=Dylan-DPC
...
Small cleanup for E0705 explanation
r? @Dylan-DPC
2020-07-16 11:18:29 -07:00
Guillaume Gomez
03bbe9d2c9
Clean up E0723 explanation
2020-07-16 17:04:34 +02:00
Bastian Kauschke
338a27174a
forbid generic params in the type of const params
2020-07-16 11:13:05 +02:00
Manish Goregaokar
1527126e07
Rollup merge of #73959 - GuillaumeGomez:cleanup-e0716, r=Dylan-DPC
...
Clean up E0716 explanation
r? @Dylan-DPC
2020-07-15 11:01:11 -07:00
Manish Goregaokar
7307af1f1c
Rollup merge of #73918 - GuillaumeGomez:cleanup-e0715, r=Dylan-DPC
...
Clean up E0715 explanation
r? @Dylan-DPC
2020-07-15 11:01:08 -07:00