Mazdak Farrokhzad
d4ef74b2da
Rollup merge of #57847 - clarcharr:dbg_no_params, r=Centril
...
dbg!() without parameters
Fixes #57845 .
2019-03-19 15:16:46 +01:00
Mark Rousskov
2870015b7b
Bootstrap compiler update for 1.35 release
2019-03-02 09:05:34 -07:00
Taiki Endo
93b6d9e086
libstd => 2018
2019-02-28 04:06:15 +09:00
Mazdak Farrokhzad
734cc3e79e
Rollup merge of #57693 - king6cong:word, r=Centril
...
Doc rewording
None
2019-02-13 04:36:55 +01:00
bors
b244f61b77
Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik
...
Cosmetic improvements to doc comments
This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase).
r? @steveklabnik
Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far!
2019-02-12 19:09:24 +00:00
king6cong
b284c8d608
Doc rewording
2019-02-12 16:45:19 +08:00
Oliver Scherer
d3c212c552
Require a list of features to allow in allow_internal_unstable
2019-02-11 15:08:16 +01:00
Alexander Regueiro
b87363e763
tests: doc comments
2019-02-10 23:42:32 +00:00
Clar Fon
6fb5b73cf4
dbg!() without parameters.
2019-01-22 17:52:03 -05:00
Guillaume Gomez
47e294e758
check missing docs for reexported macros as well
2019-01-06 18:55:55 +01:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Mazdak Farrokhzad
f4cde5bc4e
stabilize std::dbg!(...)
2018-12-01 02:54:09 +01:00
Steve Klabnik
d7b3f5c6ae
update various stdlib docs
2018-11-21 06:50:17 -05:00
Dale Wijnand
20ef40ae50
Fix a typo in std::panic
2018-11-11 07:36:10 +00:00
Stjepan Glavina
d75dae3069
Deprecate channel selection
2018-11-08 22:51:46 +01:00
Diana
1b355a8976
Fix incorrect link in println! documentation
...
The eprintln! link was incorrectly linking to eprint! instead
2018-10-14 08:14:21 -04:00
bors
e7416d5650
Auto merge of #54317 - Centril:feature/dbg_macro, r=SimonSapin
...
Implement the dbg!(..) macro
Implements the `dbg!(..)` macro due to #54306 .
cc https://github.com/rust-lang/rfcs/pull/2361
r? @alexcrichton
2018-09-25 07:06:15 +00:00
Mazdak Farrokhzad
1d2a1bfa7d
dbg_macro: notes about VCS and log::debug!(..)
2018-09-20 17:39:09 +02:00
Mazdak Farrokhzad
000be8fe83
dbg!(expr) implementation.
2018-09-20 17:39:09 +02:00
Taylor Cramer
1b00f0b9fa
Remove spawning from task::Context
2018-09-19 15:01:19 -07:00
bors
1e21c9a297
Auto merge of #53877 - withoutboats:compositional-pin, r=aturon
...
Update to a new pinning API.
~~Blocked on #53843 because of method resolution problems with new pin type.~~
@r? @cramertj
cc @RalfJung @pythonesque anyone interested in #49150
2018-09-19 06:56:19 +00:00
Without Boats
974bdc80fe
Update to a new pinning API.
2018-09-01 06:57:58 +02:00
QuietMisdreavus
ad2169c095
use cfg(rustdoc) instead of cfg(dox) in std and friends
2018-08-31 13:29:10 -05:00
Niv Kaminer
13da951868
move PinMut into pin module and export through std
2018-08-23 01:37:03 +03:00
Taylor Cramer
3a93e914eb
Remove unnecessary local in await! macro
2018-08-02 13:07:55 -07:00
Mark Rousskov
683a3db01f
Switch to bootstrapping from 1.29 beta
2018-08-01 11:59:08 -06:00
kennytm
8e6971dd2d
Rollup merge of #52581 - petrochenkov:bmacrodoc, r=alexcrichton
...
Avoid using `#[macro_export]` for documenting builtin macros
Use a special `rustc_*` attribute instead.
cc https://github.com/rust-lang/rust/pull/52234
2018-07-23 01:00:03 +08:00
Esteban Küber
3c817259e3
fix tidy ~ again
2018-07-21 19:19:56 -07:00
Esteban Küber
6aa17a3c68
Don't use the new eprintln
for stage0 and stage1
...
I'm not entirely sure why (or if) this is needed.
2018-07-21 17:59:17 -07:00
Esteban Küber
a7a68370a7
Change eprintln!()
...
Address #30143 as well. `writeln!()` hasn't been changed.
2018-07-21 15:56:37 -07:00
Esteban Küber
00d500052c
Gate format_args_nll
behind feature flag
2018-07-21 15:50:46 -07:00
Vadim Petrochenkov
a18be44d63
Avoid using #[macro_export]
for documenting builtin macros
2018-07-21 02:49:34 +03:00
Esteban Küber
154dee2dcc
rework println
2018-07-19 23:18:07 -07:00
Esteban Küber
e613bfb701
Same change as println
for eprintln
2018-07-19 23:18:07 -07:00
Esteban Küber
fbce952193
review comments: modify note wording and change println
...
- Don't print the newline on its own to avoid the possibility of
printing it out of order due to `stdout` locking.
- Modify wording of `concat!()` with non-literals to not mislead into
believing that only `&str` literals are accepted.
- Add test for `concat!()` with non-literals.
2018-07-19 23:18:07 -07:00
Esteban Küber
f53c145ef1
Improve suggestion for missing fmt str in println
...
Avoid using `concat!(fmt, "\n")` to improve the diagnostics being
emitted when the first `println!()` argument isn't a formatting string
literal.
2018-07-19 23:18:07 -07:00
Benjamin Sago
f85ddfbc3f
Add sentence to compile_error!() docs
...
It now details why using compile_error!() is different from just not having the final macro_rules!() branch.
2018-06-25 10:34:00 +02:00
Benjamin Sago
2d3c369d87
Link the docs of panic!() and compile_error!()
...
Fixes #47275 . These two macros are similar, but different, and could do with documentation links to each other.
2018-06-25 10:33:54 +02:00
Taylor Cramer
9a310abf79
Remove impl trait names and move bits of await into a function
2018-06-22 16:08:07 -07:00
Taylor Cramer
ee51a3c10a
Review nits and updates
...
Move future_from_generator out of raw
Update await to use $crate
Renumber errors
2018-06-22 11:36:01 -07:00
Taylor Cramer
f744ac5538
Allow unsafe code inside of await macro
2018-06-21 22:38:05 -07:00
Taylor Cramer
cf844b547d
async await desugaring and tests
2018-06-21 22:36:36 -07:00
Guillaume Gomez
fe9a19580c
Add documentation about env! second argument
2018-05-24 20:08:10 +02:00
Michael Lamparski
8e38d02d98
update concat_idents doc stubs
2018-05-03 06:49:30 -04:00
Guillaume Gomez
05275dafaa
Remove unwanted auto-linking and update
2018-04-16 23:37:11 +02:00
Alex Burka
333b0a0471
tweak format_args! docs
...
Swap the variable names in the example.
2018-04-03 09:20:04 -04:00
Mazdak Farrokhzad
afff64e7a4
document format_args! further wrt. Debug & Display"
2018-03-21 07:55:09 +01:00
bors
5f3996c3ec
Auto merge of #48813 - sinkuu:build_in_assert_macro, r=alexcrichton
...
Make `assert` a built-in procedural macro
Makes `assert` macro a built-in one without touching its functionality. This is a prerequisite for RFC 2011 (#44838 ).
2018-03-16 08:22:11 +00:00
Manish Goregaokar
b65b171f44
Rollup merge of #48857 - Songbird0:improve_column_macro_documentation, r=joshtriplett
...
Modify part of `column!` documentation.
Just like `line!` documentation, I've replaced:
> The returned column is not the invocation of the `column!` macro itself
By
> The returned column is *not necessarily* the line of the `column!` invocation itself
See #46997 .
2018-03-08 17:25:59 -08:00
Anthony Defranceschi
a0758cdcff
Modify part of column!
documentation.
...
Just like `line!` documentation, I've replaced:
> The returned column is not the invocation of the `column!` macro itself
By
> The returned column is *not necessarily* the line of the `column!` invocation itself
See #46997 .
2018-03-09 00:43:54 +01:00