Michael Goulet
|
c58b7c9c81
|
Don't skip inner const when looking for body for suggestion
|
2024-05-23 19:49:48 -04:00 |
|
Jubilee Young
|
d89500843c
|
Move 100 entries from tests/ui into subdirs
- Move super-fast-paren-parsing test into ui/parser
- Move stmt_expr_attrs test into ui/feature-gates
- Move macro tests into ui/macros
- Move global_asm tests into ui/asm
- Move env tests into ui/process
- Move xcrate tests into ui/cross-crate
- Move unop tests into ui/unop
- Move backtrace tests into ui/backtrace
- Move check-static tests into ui/statics
- Move expr tests into ui/expr
- Move optimization fuel tests into ui/fuel
- Move ffi attribute tests into ui/ffi-attrs
- Move suggestion tests into ui/suggestions
- Move main tests into ui/fn-main
- Move lint tests into ui/lint
- Move repr tests into ui/repr
- Move intrinsics tests into ui/intrinsics
- Move tool lint tests into ui/tool-attributes
- Move return tests into ui/return
- Move pattern tests into ui/patttern
- Move range tests into ui/range
- Move foreign-fn tests into ui/foreign
- Move orphan-check tests into ui/coherence
- Move inference tests into ui/inference
- Reduce ROOT_ENTRY_LIMIT
|
2024-05-20 19:55:59 -07:00 |
|
cardigan1008
|
c811acb1f3
|
feat: add unit test
|
2024-05-16 21:10:07 +08:00 |
|
Michael Goulet
|
325b24d763
|
Fix 1-tuple value suggestion
|
2024-04-14 09:42:53 -04:00 |
|
Michael Goulet
|
4af94cfa05
|
Suggest value on bare return
|
2024-04-14 09:42:53 -04:00 |
|
许杰友 Jieyou Xu (Joe)
|
cacdf92d37
|
Note that type param is chosen by caller when suggesting return impl Trait
|
2024-03-16 23:20:42 +00:00 |
|
许杰友 Jieyou Xu (Joe)
|
ec2cc761bc
|
[AUTO-GENERATED] Migrate ui tests from // to //@ directives
|
2024-02-16 20:02:50 +00:00 |
|
Nilstrieb
|
41e8d152dc
|
Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
|
2023-11-24 19:15:52 +01:00 |
|
Esteban Küber
|
bd8b46800d
|
Tweak wording of type errors involving type params
Fix #78206.
|
2023-10-18 23:53:18 +00:00 |
|
Michael Goulet
|
137b6d0b01
|
Point to where missing return type should go
|
2023-10-04 21:09:54 +00:00 |
|
Morten Lohne
|
75d5f107dd
|
Bugfix: 'can_have_side_effects()' would return 'false' for struct/enum/array/tuple literals unless *all* sub-expressions had side effects. This would easily allow side effects to slip through, and also wrongly label empty literals as having side effects. Add some tests for the last point
|
2023-08-10 02:26:11 +02:00 |
|
Maybe Waffle
|
ccb71ff424
|
hir : Add Become expression kind
|
2023-06-26 08:56:32 +00:00 |
|
Esteban Küber
|
62ba3e70a1
|
Modify primary span label for E0308
The previous output was unintuitive to users.
|
2023-01-30 20:12:19 +00:00 |
|
Albert Larsan
|
cf2dff2b1e
|
Move /src/test to /tests
|
2023-01-11 09:32:08 +00:00 |
|