mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Set "current" edition to 2021
This commit is contained in:
parent
b75803ad31
commit
249ea9502d
7 changed files with 28 additions and 28 deletions
|
@ -813,7 +813,7 @@ fn test() {
|
|||
fn method_resolution_trait_from_prelude() {
|
||||
check_types(
|
||||
r#"
|
||||
//- /main.rs crate:main deps:core
|
||||
//- /main.rs edition:2018 crate:main deps:core
|
||||
struct S;
|
||||
impl Clone for S {}
|
||||
|
||||
|
@ -1527,7 +1527,7 @@ fn f(x: U2) {
|
|||
fn skip_array_during_method_dispatch() {
|
||||
check_types(
|
||||
r#"
|
||||
//- /main2018.rs crate:main2018 deps:core
|
||||
//- /main2018.rs crate:main2018 deps:core edition:2018
|
||||
use core::IntoIterator;
|
||||
|
||||
fn f() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue