Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3b2b5b2
Remove P: Unpin bound on impl Future for Pin
jonhoo Jan 25, 2021
ac658e1
Merge branch 'master' into no-unpin-in-pin-future-impl
jonhoo May 27, 2021
b5e5a18
Update library/core/src/pin.rs
jonhoo Jun 16, 2021
cf40292
Link tracking issue for pin_deref_mut
jonhoo Jul 6, 2021
88aecc6
BufWriter: actually export WriterPanicked error
ijackson Jun 1, 2021
3aaa275
BufWriter: rename `into_parts` from `into_raw_parts`
ijackson Jun 1, 2021
51d16ac
Rename feature gate bufwriter_into_parts from bufwriter_into_raw_parts
ijackson Jul 19, 2021
8c91805
Stabilize core::task::ready!
yoshuawuyts Jan 15, 2021
ec76b6e
Add support for tuple structs' fields documentation
GuillaumeGomez Jul 25, 2021
19f30b7
Add test for tuple struct documentation fields
GuillaumeGomez Jul 25, 2021
2b79094
Add support for tuple struct fields documentation in enums as well
GuillaumeGomez Jul 25, 2021
fbf78e1
Add test for enum item tuple fields documentation
GuillaumeGomez Jul 25, 2021
beb9bb3
Integrate context into the memorial to Anna
Jul 26, 2021
c4aa735
Add explanations for why we use Variant::Struct instead of Variant::T…
GuillaumeGomez Jul 27, 2021
7f563f7
Add long explanation for E0498
midgleyc Jul 27, 2021
bc70252
Mark code as ignored due to requiring external plugin
midgleyc Jul 27, 2021
40b57be
Don't run MIR unsafeck at all when using `-Zthir-unsafeck`
LeSeulArtichaut Jul 27, 2021
4b5ac09
add CI_ONLY_WHEN_CHANNEL and run x86_64-gnu-stable only on nightly
pietroalbini Jul 28, 2021
18cc06c
Update stable version of ready!() macro.
m-ou-se Jul 28, 2021
387cd6d
Add some doc aliases
D1mon Jul 3, 2021
2d8b6e3
Use backticks when referring to `core::future::Ready` in panic message
ibraheemdev Jul 28, 2021
00198dd
fix example code for E0617
ibraheemdev Jul 24, 2021
f3fc3f2
Rollup merge of #81050 - yoshuawuyts:stabilize-task-ready, r=m-ou-se
JohnTitor Jul 28, 2021
efa3a2f
Rollup merge of #81363 - jonhoo:no-unpin-in-pin-future-impl, r=m-ou-se
JohnTitor Jul 28, 2021
af62d11
Rollup merge of #85901 - ijackson:bufwriter-tweaks, r=joshtriplett
JohnTitor Jul 28, 2021
3e5e737
Rollup merge of #86839 - D1mon:patch-1, r=JohnTitor
JohnTitor Jul 28, 2021
dbe6d25
Rollup merge of #87435 - ibraheemdev:patch-4, r=JohnTitor
JohnTitor Jul 28, 2021
0a92db3
Rollup merge of #87451 - GuillaumeGomez:tuple-struct-field-doc, r=jyn514
JohnTitor Jul 28, 2021
b03f637
Rollup merge of #87491 - jamesmunns:integrate-memorial, r=Mark-Simula…
JohnTitor Jul 28, 2021
3c29c95
Rollup merge of #87521 - midgleyc:long-E0498, r=GuillaumeGomez
JohnTitor Jul 28, 2021
e252b9b
Rollup merge of #87527 - LeSeulArtichaut:no-mir-unsafeck, r=oli-obk
JohnTitor Jul 28, 2021
09246b9
Rollup merge of #87550 - pietroalbini:ci-only-when-channel, r=Mark-Si…
JohnTitor Jul 28, 2021
ecaf978
Rollup merge of #87565 - ibraheemdev:patch-7, r=scottmcm
JohnTitor Jul 28, 2021
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
2 changes: 1 addition & 1 deletion compiler/rustc_error_codes/src/error_codes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ E0493: include_str!("./error_codes/E0493.md"),
E0495: include_str!("./error_codes/E0495.md"),
E0496: include_str!("./error_codes/E0496.md"),
E0497: include_str!("./error_codes/E0497.md"),
E0498: include_str!("./error_codes/E0498.md"),
E0499: include_str!("./error_codes/E0499.md"),
E0500: include_str!("./error_codes/E0500.md"),
E0501: include_str!("./error_codes/E0501.md"),
Expand Down Expand Up @@ -604,7 +605,6 @@ E0783: include_str!("./error_codes/E0783.md"),
// E0488, // lifetime of variable does not enclose its declaration
// E0489, // type/lifetime parameter not in scope here
E0490, // a value of type `..` is borrowed for too long
E0498, // malformed plugin attribute
E0514, // metadata version mismatch
E0519, // local crate and dependency have same (crate-name, disambiguator)
// two dependencies have same (crate-name, disambiguator) but different SVH
Expand Down
22 changes: 22 additions & 0 deletions compiler/rustc_error_codes/src/error_codes/E0498.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The `plugin` attribute was malformed.

Erroneous code example:

```compile_fail,E0498
#![feature(plugin)]
#![plugin(foo(args))] // error: invalid argument
#![plugin(bar="test")] // error: invalid argument
```

The `#[plugin]` attribute should take a single argument: the name of the plugin.

For example, for the plugin `foo`:

```ignore (requires external plugin crate)
#![feature(plugin)]
#![plugin(foo)] // ok!
```

See the [`plugin` feature] section of the Unstable book for more details.

[`plugin` feature]: https://doc.rust-lang.org/nightly/unstable-book/language-features/plugin.html
1 change: 1 addition & 0 deletions src/test/ui-fulldeps/plugin-args.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LL | #![plugin(empty_plugin(args))]

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0498`.
1 change: 1 addition & 0 deletions src/test/ui/malformed/malformed-plugin-3.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ LL | #![plugin(foo="bleh")]

error: aborting due to previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0498`.