Joshua Nelson
785aeac521
Remove unused DiagnosticBuilder::sub function
...
`Diagnostic::sub` is only ever used directly; it doesn't need to be
included in the builder.
2021-03-27 22:16:33 -04:00
Joshua Nelson
bb7c04ae9c
Remove unnecessary forward_inner_docs hack
...
and replace it with `extended_key_value_attributes` feature.
2021-03-17 09:52:45 -04:00
Mark Rousskov
d5b760ba62
Bump rustfmt version
...
Also switches on formatting of the mir build module
2021-02-02 09:09:52 -05:00
Aaron Hill
dea8a16af5
Avoid describing a method as 'not found' when bounds are unsatisfied
...
Fixes #76267
When there is a single applicable method candidate, but its trait bounds
are not satisfied, we avoid saying that the method is "not found".
Insted, we update the error message to directly mention which bounds are
not satisfied, rather than mentioning them in a note.
2021-01-26 23:59:50 -05:00
Camelid
10487cd784
Fix typo in method name
...
unsuccessfull -> unsuccessful
2020-12-16 14:59:12 -08:00
Camelid
60b4082d5f
Add more documentation to Diagnostic and DiagnosticBuilder
2020-12-16 14:59:11 -08:00
Andy Russell
a78966df83
clarify span_label documentation
2020-11-16 18:05:45 -05:00
Aaron Hill
23018a55d9
Implement rustc side of report-future-incompat
2020-10-30 20:02:14 -04:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00