Matthias Krüger
68f12338af
Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726
...
Remove double spaces after dots in comments
Most of the comments do not have double spaces, so I assume these are typos.
2023-01-17 20:21:25 +01:00
Maybe Waffle
6a28fb42a8
Remove double spaces after dots in comments
2023-01-17 08:09:33 +00:00
Oli Scherer
6b69b5e460
Improve a TAIT error and add an error code plus documentation
2023-01-16 16:54:14 +00:00
nils
c61f29ca52
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
...
remove unreachable error code `E0490`
AFAIK, the untested and undocumented error code `E0490` is now unreachable, it was from the days of the original borrow checker.
cc ``@GuillaumeGomez`` #61137
2023-01-12 15:44:52 +01:00
Ezra Shaw
02005e9f22
remove unreachable error code E0490
2023-01-12 14:15:21 +13:00
bowlerman
f75eb24f4f
remove E0280 and ICE instead
2023-01-10 03:04:28 +01:00
Ezra Shaw
24ce65c8d6
docs/test: add error-docs and UI test for E0711
2023-01-09 15:48:53 +13:00
Ezra Shaw
ecc0507fdd
docs/test: add empty error-docs for E0208
, E0640
and E0717
2023-01-09 15:48:52 +13:00
Ezra Shaw
93c0d8d5d5
remove unreachable error code E0313
2023-01-08 14:47:12 +13:00
Ezra Shaw
24b39ece2f
refactor: merge E0465
into E0464
2022-12-31 20:44:54 +13:00
Ezra Shaw
726519d4f5
docs: add long-form error docs for E0514
2022-12-29 14:32:39 +13:00
Ezra Shaw
da7fcc7a09
docs/test: add UI test and long-form error docs for E0519
2022-12-29 13:16:10 +13:00
Ezra Shaw
f66e7529b5
docs: add long-form error docs for E0461
2022-12-27 17:03:39 +13:00
Matthias Krüger
e08dd9d998
Rollup merge of #105970 - Ezrashaw:add-docs+test-e0462, r=GuillaumeGomez
...
docs/test: add UI test and long-form error docs for E0462
Another UI test/ docs combo.
r? ``@GuillaumeGomez``
2022-12-24 00:31:40 +01:00
Ezra Shaw
66ed1812cf
docs/test: add UI test and long-form error docs for E0462
2022-12-23 10:56:16 +13:00
Matthias Krüger
4726e514d7
Rollup merge of #105791 - Ezrashaw:add-e0472-long-docs, r=GuillaumeGomez
...
docs: add long error explanation for error E0472
Add long-form error docs for E0472: "inline assembly not supported on this target" and update UI tests.
R? `@GuillaumeGomez`
2022-12-20 23:35:14 +01:00
Ezra Shaw
082ca1e461
docs: add long error explanation for error E0472
2022-12-20 21:34:30 +13:00
Ezra Shaw
e798fdf7be
docs/test: add UI test and long-form error docs for E0377
2022-12-20 18:31:15 +13:00
Ezra Shaw
540c3f434f
docs: add long-form error-code docs for E0457
2022-12-19 08:55:08 +13:00
Ezra Shaw
7e66d451ad
docs: add long-form error-code docs for E0460
2022-12-19 08:55:08 +13:00
Ezra Shaw
fe52882986
docs: add long error explanation for error E0320
2022-12-17 07:38:23 +13:00
Peter Collingbourne
f44a0153bc
Support Option and similar enums as type of static variable with linkage attribute.
...
Compiler MCP:
https://github.com/rust-lang/compiler-team/issues/565
2022-12-05 15:05:43 -08:00
Matthew Kelly
fa91980d2d
Add long description and test for E0311
...
Adds a long description and unit test for the E0311 compiler error.
2022-08-19 06:46:37 -04:00
lcnr
43ccacf89b
region_outlives_predicate
no snapshot
2022-07-21 13:09:01 +02:00
aticu
1cbacc0c8a
Add E0790 as more specific variant of E0283
2022-07-19 10:16:10 +02:00
Jane Losare-Lusby
e4e6b1ebc6
fixes post rebase
2022-07-08 21:18:16 +00:00
Jane Lusby
b55453dbad
add opt in attribute for stable-in-unstable items
2022-07-08 21:18:15 +00:00
onlinesoftwaredevok
99672fb2dc
Add comment for internal error codes
2022-06-12 19:52:49 -03:00
ltdk
5fabdb8f7f
Add E0788 for improper #[no_coverage] usage
2022-05-28 17:20:43 -04:00
Guillaume Gomez
eae2903150
Add long error explanation for E0667
2022-03-27 14:09:52 +02:00
Guillaume Gomez
911de7b98c
Add explanation for E0726
2022-02-28 15:51:05 +01:00
Guillaume Gomez
087fb23dc9
Add missing E0192 in the error code listing
2022-02-12 00:43:09 +01:00
Matthias Krüger
11898a56c2
Rollup merge of #88205 - danii:e0772, r=GuillaumeGomez
...
Add Explanation For Error E0772
I've added an error explanation for the error code E0772.
Assists with #61137
2022-01-29 14:46:29 +01:00
Daniel Conley
4f8b9a4126
Add Explanation For Error E0772
2022-01-28 11:00:56 -05:00
Tomasz Miąsko
888332fee4
Reject unsupported naked functions
...
Transition unsupported naked functions future incompatibility lint into
an error:
* Naked functions must contain a single inline assembly block.
Introduced as future incompatibility lint in 1.50 #79653 .
Change into an error fixes a soundness issue described in #32489 .
* Naked functions must not use any forms of inline attribute.
Introduced as future incompatibility lint in 1.56 #87652 .
2022-01-21 17:38:21 +01:00
TmLev
406d6d4028
docs(error-codes): Add long error explanation for E0227
2021-12-28 15:46:20 +03:00
Joshua Nelson
257ac1b498
Improve error when an .rlib can't be parsed
...
This usually describes either an error in the compiler itself or some
sort of IO error. Either way, we should report it to the user rather
than just saying "crate not found".
This only gives an error if the crate couldn't be loaded at all - if the
compiler finds another .rlib or .rmeta file which was valid, it will
continue to compile the crate.
Example output:
```
error[E0785]: found invalid metadata files for crate `foo`
--> bar.rs:3:24
|
3 | println!("{}", foo::FOO_11_49[0]);
| ^^^
|
= warning: failed to parse rlib '/home/joshua/test-rustdoc/libfoo.rlib': Invalid archive extended name offset
```
2021-11-07 15:03:40 +00:00
Ben Boeckel
863e5226d3
error_codes: uniformly comment error codes
2021-11-05 11:57:17 -04:00
Matthias Krüger
e3099e7d8c
Rollup merge of #89885 - cameron1024:long-explanation-E0183, r=GuillaumeGomez
...
add long explanation for E0183
Addresses #61137
2021-10-15 07:44:49 +02:00
cameron1024
cca39148f3
add long explanation for E0183
2021-10-14 17:44:04 +01:00
Noah Lev
cc6a09009d
Add long explanation for E0464
...
The test is copied from `src/test/ui/crate-loading/crateresolve1.rs` and
its auxiliary tests. I added it to the `compile_fail` code example check
exemption list since it's hard if not impossible to reproduce this error
in a standalone code example.
2021-10-12 13:10:12 -07:00
sireliah
a94e39e7f4
Add long explanation for error E0482
2021-10-09 21:49:09 +02:00
Michael Howell
026322c34b
fix(rustc_typeck): produce better errors for dyn auto trait
...
Fixes #85026
2021-08-30 22:15:11 -07:00
bors
442e627bee
Auto merge of #87697 - GuillaumeGomez:add-e0784, r=nagisa
...
Assign E0784 error code for union expression errors
2021-08-08 16:40:14 +00:00
Brandon H. Gomes
a77d6ff359
add long error explanation for E0625
2021-08-02 23:03:16 -04:00
Guillaume Gomez
c364a4e30f
Assign E0784 to union expression error
2021-08-02 16:51:39 +02:00
Chris Midgley
7f563f7f4e
Add long explanation for E0498
2021-07-27 18:06:34 +01:00
Chris Midgley
b21024f7b9
Add long explanation for E0544.
2021-07-26 22:59:16 +01:00
Guillaume Gomez
3a8bc0d7da
Rollup merge of #87342 - midgleyc:add-E0757-long, r=GuillaumeGomez
...
Add long explanation for E0757
Helps with #61137
2021-07-21 15:52:53 +02:00
Chris Midgley
27ffc3725a
Add long explanation for E0757
2021-07-21 13:31:47 +01:00