Esteban Küber
|
b7db6bb5af
|
Remove Sized on_unimplemented note
|
2020-07-14 10:50:24 -07:00 |
|
Jonas Schievink
|
044fe0f558
|
Add a resume type parameter to Generator
|
2020-02-02 13:20:57 +01:00 |
|
Vadim Petrochenkov
|
fa72a81bea
|
Update tests
|
2019-03-11 23:10:26 +03:00 |
|
Wim Looman
|
a3fdee9a75
|
Change generator trait to use pinning
|
2019-01-27 22:58:53 +01:00 |
|
Corey Farwell
|
d2c91a1a6d
|
Fix broken links to second edition TRPL.
Fixes https://github.com/rust-lang/rust/issues/57104.
|
2019-01-01 12:53:07 -05:00 |
|
Mark Rousskov
|
2a663555dd
|
Remove licenses
|
2018-12-25 21:08:33 -07:00 |
|
Felix Rabe
|
c74415872c
|
Fix doc link (again)
Similar to #52404. The link for comparison:
- https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized (broken)
- https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait (correct, stable 2nd ed)
- https://doc.rust-lang.org/nightly/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait (correct, nightly 2nd ed)
- https://doc.rust-lang.org/nightly/book/2018-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait (correct, nightly 2018 ed)
This commit is the result of (first) searching via ripgrep (0.8.1 -SIMD -AVX):
rg -l dynamically-sized-types-and-sized
and then replacing all relevant occurrences via:
find src/{libcore,test/ui} -type f -print0 | xargs -0 sed -i.bak \
s/dynamically-sized-types-and-sized/dynamically-sized-types-and-the-sized-trait/g
find src/{libcore,test/ui} -type f -name '*.bak' -print0 | xargs -0 rm
(Note: Tested on on macOS 10.13 (BSD). `sed -i.bak` should work on Linux
(GNU sed) as well, but not tested.)
|
2018-08-05 07:52:29 +02:00 |
|
Felix Rabe
|
88e9af0375
|
Fix doc link
The link for comparison:
- https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types--sized (broken)
- https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-sized (fixed)
This commit is the result of (first) searching via:
find src -type f -print0 | xargs -0 fgrep -l dynamically-sized-types--sized
and then replacing all relevant occurrences via:
find src/{libcore,test/ui} -type f -print0 | xargs -0 sed -i.bak \
s/dynamically-sized-types--sized/dynamically-sized-types-and-sized/g
find src/{libcore,test/ui} -type f -name '*.bak' -print0 | xargs -0 rm
(Note: Commands run on macOS 10.13 (BSD). `sed -i.bak` should work on
GNU/Linux as well, but not tested.)
|
2018-07-17 14:10:11 +02:00 |
|
Rémy Rakic
|
b8c96ce530
|
Fix typo in error message E0277
|
2018-07-10 23:10:13 +02:00 |
|
Esteban Küber
|
d4bfae1319
|
Update message for !Sized types
|
2018-06-19 17:32:33 -07:00 |
|
Esteban Küber
|
f1dee43887
|
Add link to book for Sized errors
|
2018-06-19 15:19:15 -07:00 |
|
Esteban Küber
|
776544f011
|
Add message to rustc_on_unimplemented attributes in core
|
2018-06-19 15:19:13 -07:00 |
|
John Kåre Alsaker
|
57896abc38
|
Make resuming generators unsafe instead of the creation of immovable generators. Fixes #47787
|
2018-03-21 00:09:58 +01:00 |
|
Guillaume Gomez
|
2e104a77cf
|
update tests
|
2018-03-14 00:53:24 +01:00 |
|
Vadim Petrochenkov
|
fa2d9fc4b9
|
Update UI tests
|
2018-02-26 20:24:02 +03:00 |
|
Guillaume Gomez
|
5747fd6611
|
Update ui tests
|
2018-02-25 12:15:05 +01:00 |
|
John Kåre Alsaker
|
77bc26f4f3
|
Require yield types to be sized
|
2018-01-29 10:02:04 +01:00 |
|