Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
da3ecb0
Use proper InferCtxt when probing for associated types in astconv
compiler-errors Jan 22, 2023
800f1f3
Liberate late-bound regions correctly
compiler-errors Jan 25, 2023
b83ab0c
Suggest mutable borrows correctly
compiler-errors Jan 25, 2023
c4d00d7
add testcase for #104012
chenyukang Jan 26, 2023
cd23323
Improve unexpected close and mismatch delimiter hint in TokenTreesReader
chenyukang Jan 26, 2023
fe29317
errors: add `emit_note`/`create_note` on `Handler`
davidtwco Oct 14, 2022
421117d
errors: implement `IntoDiagnosticArg` for `&T`
davidtwco Aug 30, 2022
0222a46
session: impl `IntoDiagnosticArg` for `CrateType`
davidtwco Aug 30, 2022
089e1d8
session: diagnostic migration lint on more fns
davidtwco Aug 19, 2022
af8ec72
incremental: migrate diagnostics
davidtwco Sep 26, 2022
dbe911f
Add regression test for #60755
JohnTitor Jan 27, 2023
ed707a1
Detect references to non-existant messages in Fluent resources
clubby789 Jan 19, 2023
0ae0d87
Fix some Fluent typos
clubby789 Jan 19, 2023
5bfd90e
Use now solver in evaluate_obligation
compiler-errors Jan 27, 2023
454c473
Remove `BOOL_TY_FOR_UNIT_TESTING`
Noratrieb Jan 27, 2023
5152e84
Remove unused import
Noratrieb Jan 27, 2023
ff2413d
No need to probe when computing goals
compiler-errors Jan 27, 2023
0654374
Add some comments
compiler-errors Jan 27, 2023
8a0b215
Micro-optimization in consider_assumption
compiler-errors Jan 27, 2023
91d0f4a
Rollup merge of #100754 - davidtwco:translation-incremental, r=compil…
matthiaskrgr Jan 27, 2023
b19a441
Rollup merge of #104012 - chenyukang:yukang/fix-103882-deli-indentati…
matthiaskrgr Jan 27, 2023
b69fd73
Rollup merge of #107096 - clubby789:fluent-bad-messageref, r=compiler…
matthiaskrgr Jan 27, 2023
427695b
Rollup merge of #107100 - compiler-errors:issue-107087, r=lcnr
matthiaskrgr Jan 27, 2023
ba33c23
Rollup merge of #107103 - compiler-errors:new-solver-evaluate_obligat…
matthiaskrgr Jan 27, 2023
82422c8
Rollup merge of #107306 - compiler-errors:correct-sugg-for-closure-ar…
matthiaskrgr Jan 27, 2023
20eb4b9
Rollup merge of #107344 - compiler-errors:new-solver-tweaks, r=lcnr
matthiaskrgr Jan 27, 2023
36a2f0f
Rollup merge of #107355 - JohnTitor:issue-60755, r=compiler-errors
matthiaskrgr Jan 27, 2023
f04a7fc
Rollup merge of #107384 - Nilstrieb:bool-for-deletion, r=oli-obk
matthiaskrgr Jan 27, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/ui/traits/alias/issue-60755.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// check-pass

#![feature(trait_alias)]

struct MyStruct {}
trait MyFn = Fn(&MyStruct);

fn foo(_: impl MyFn) {}

fn main() {
foo(|_| {});
}