| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-11-17 | Add a regression test for #87573 | Yuki Okushi | -0/+49 | |
| 2021-11-14 | Move some tests to more reasonable directories | Caio | -0/+20 | |
| 2021-11-06 | Move some tests to more reasonable directories | Caio | -0/+70 | |
| 2021-10-03 | Practice diagnostic message convention | Hirochika Matsumoto | -1/+1 | |
| 2021-09-30 | Rollup merge of #88782 - asquared31415:issue-79559, r=cjgillot | Manish Goregaokar | -10/+29 | |
| Fix ICE when `start` lang item has wrong generics In my previous pr #87875 I missed the requirements on the `start` lang item due to its relative difficulty to test and opting for more conservative estimates. This fixes that by updating the requirement to be exactly one generic type. The `start` lang item should have exactly one generic type for the return type of the `main` fn ptr passed to it. I believe having zero would previously *sometimes* compile (often with the use of `fn() -> ()` as the fn ptr but it was likely UB to call if the return type of `main` was not `()` as far as I know) however it also sometimes would not for various errors including ICEs and LLVM errors depending on exact situations. Having more than 1 generic has always failed with an ICE because only the one generic type is expected and provided. Fixes #79559, fixes #73584, fixes #83117 (all duplicates) Relevant to #9307 r? ````@cjgillot```` | ||||
| 2021-09-24 | Make error message for malformed `fn`/`fn_mut` lang item more specific | Fabian Wolff | -4/+4 | |
| 2021-09-24 | Add basic checks for well-formedness of `fn`/`fn_mut` lang items | Fabian Wolff | -0/+115 | |
| 2021-09-14 | Fix ICE when `start` lang item has wrong generics | asquared31415 | -10/+29 | |
| 2021-08-23 | Detect incorrect number of lang item generics | asquared31415 | -77/+128 | |
| 2021-07-01 | Reword error message slightly | Fabian Wolff | -1/+1 | |
| 2021-06-12 | Report an error if resolution of closure call functions failed | Fabian Wolff | -0/+26 | |
| 2021-05-15 | Report an error if a lang item has the wrong number of generic arguments | Fabian Wolff | -0/+120 | |
