Zack M. Davis
4b1808578a
add dyn
to display of dynamic (trait) type names
...
The `dyn Trait` syntax was stabilized in 199ee327. Resolves #49277 .
2018-06-23 18:10:25 -07:00
Esteban Küber
3f6b3bbace
Improve format string errors
...
- Point at format string position inside the formatting string
- Explain that argument names can't start with an underscore
2018-05-10 09:09:58 -07:00
bors
ff2d506c2c
Auto merge of #48138 - estebank:issue-45092, r=nikomatsakis
...
Reword E0044 and message for `!Send` types
- Reword E0044 help.
- Change error message for types that don't implement `Send`
CC #45092 , #46678 , #24909 , #33307 .
2018-03-15 13:16:09 +00:00
Esteban Küber
6d8a173980
Reword E0044 and message for !Send
types
...
- Reword E0044 help.
- Change error message for types that don't implement `Send`
2018-03-14 18:04:20 -07: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
Esteban Küber
9b36030a65
On E0283, point at method with the requirements
...
On required type annotation diagnostic error, point at method with the
requirements if the span is available.
2018-01-15 14:56:32 -08:00
Alex Burka
5da957cbc6
mention nightly in -Z external-macro-backtrace note
2017-11-26 18:28:38 +00:00
Oliver Schneider
8937d6a6cf
Merge cfail and ui tests into ui tests
2017-11-24 11:32:35 +01:00
bors
1dc0b573e7
Auto merge of #45198 - oli-obk:fmt_args, r=sfackler
...
Prevent fmt::Arguments from being shared across threads
Fixes #45197
This is a **breaking change**! Without doing this it's very easy to create race conditions.
There's probably a way to do this without breaking valid use cases, but it would require quite an overhaul of the formatting machinery.
2017-11-22 12:34:56 +00:00
Alex Burka
b34a7ffb25
address review comments
2017-11-20 18:03:20 +00:00
Alex Burka
7a5a1f9857
use -Z flag instead of env var
2017-11-19 22:30:14 +00:00
Alex Burka
bec62c2f12
update UI tests
2017-11-19 22:22:22 +00:00
Oliver Schneider
787f9f4ab7
Prevent fmt::Arguments from being shared across threads
...
Fixes #45197
2017-10-11 13:26:05 +02:00
Ariel Ben-Yehuda
77f4022303
Revert "Change error count messages"
...
This reverts commit 5558c64f33446225739c1153b43d2e309bb4f50e.
2017-07-02 13:49:30 +03:00
Michael Kohl
5558c64f33
Change error count messages
...
See #33525 for details.
2017-05-24 16:14:38 +07:00
Esteban Küber
3c17abc4d9
On fmt string with unescaped {
note how to escape
...
On cases of malformed format strings where a `{` hasn't been properly
escaped, like `println!("{");`, present a note explaining how to escape
the `{` char.
2016-11-11 10:53:02 -08:00