mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
feat: Implement object safety
This commit is contained in:
parent
06a40a61b0
commit
6520a43ca3
19 changed files with 1194 additions and 66 deletions
|
@ -84,7 +84,7 @@ fn foo() {
|
|||
fn replace_filter_map_next_dont_work_for_not_sized_issues_16596() {
|
||||
check_diagnostics(
|
||||
r#"
|
||||
//- minicore: iterators
|
||||
//- minicore: iterators, dispatch_from_dyn
|
||||
fn foo() {
|
||||
let mut j = [0].into_iter();
|
||||
let i: &mut dyn Iterator<Item = i32> = &mut j;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue