Commit Graph

11 Commits

Author SHA1 Message Date
Mazdak Farrokhzad
b4420c8f5c rework run-fail and support check,build-fail 2019-12-21 22:16:00 +01:00
Guillaume Gomez
cfd4e9722e Fix ui tests with better error code usage 2019-11-14 13:05:56 +01:00
Esteban Küber
f08b036cc7 Introduce term-size dependency and consider term width when trimming 2019-08-21 11:56:20 -07:00
Esteban Küber
0e668e0496 Strip code to the left and right in diagnostics for long lines 2019-08-21 11:52:38 -07:00
Andy Russell
b6f148c8bd
hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
Vadim Petrochenkov
fa72a81bea Update tests 2019-03-11 23:10:26 +03:00
Mark Rousskov
2a663555dd Remove licenses 2018-12-25 21:08:33 -07:00
Nikita Popov
131fda40af Ignore some more tests on emscripten
Either missing i128 or asm support
2018-11-04 18:50:57 +01:00
Levente Kurusa
46b9461c4b
Add a test for multiple cases of E0669
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-30 22:09:56 +01:00
Levente Kurusa
4d7f08b170
rustc: improve E0669 span
E0669 refers to a constraint that cannot be coerced into a single LLVM
value, unfortunately right now this uses the Span for the entire inline
assembly statement, which is less than ideal.

This commit preserves the Span from HIR, which lets us emit the error
using the Span for the operand itself in MIR.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-17 07:40:44 +02:00
Levente Kurusa
3d7476eae1
codegen_llvm: verify that inline assembly operands are scalars
Otherwise, LLVM translation will fail with a panic.

Signed-off-by: Levente Kurusa <lkurusa@acm.org>
2018-10-06 12:45:19 +02:00