jumbatm
a796af7a76
Fail on multiple declarations of main.
...
Previously, when inserting the entry function, we only checked for
duplicate _definitions_ of `main`. However, it's possible to cause
problems even only having a duplicate _declaration_. For example,
shadowing `main` using an extern block isn't caught by the current
check, and causes an assertion failure down the line in in LLVM code.
2020-02-23 02:06:11 +10:00
Mazdak Farrokhzad
b4420c8f5c
rework run-fail and support check,build-fail
2019-12-21 22:16:00 +01:00
Matthew Jasper
f70c90c677
Move type parameter shadowing errors to resolve
...
For some reason type checking did this. Further it didn't consider
hygiene.
2019-08-17 09:12:32 +01:00
Samy Kacimi
8aa9f18eb5
normalize use of backticks for compiler messages in librustc_codegen
...
https://github.com/rust-lang/rust/issues/60532
2019-07-08 00:54:38 +02:00
Andy Russell
b6f148c8bd
hide --explain hint if error has no extended info
2019-04-18 13:29:28 -04:00
Ralf Jung
3a39b431e8
normalize away spurious error
2019-04-14 10:01:32 +02:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
varkor
455d659e91
Update tests
...
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-02-07 15:02:17 +01:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
François Mockers
2ba567fc27
fix other tests failing due to change in case or new suggestion for extern crate
2018-10-17 01:21:40 +02:00
Vadim Petrochenkov
a0958048b6
Stabilize use_extern_macros
2018-08-17 13:14:26 +03:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00