From 63deae5e2525ab7428b205d13953423a6cd91bdd Mon Sep 17 00:00:00 2001 From: 1000teslas <47207223+1000teslas@users.noreply.github.com> Date: Thu, 14 Jan 2021 21:52:38 +1100 Subject: [PATCH] Fix E0373 code example --- compiler/rustc_error_codes/src/error_codes/E0373.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_error_codes/src/error_codes/E0373.md b/compiler/rustc_error_codes/src/error_codes/E0373.md index 0723897614f..540a88a0d95 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0373.md +++ b/compiler/rustc_error_codes/src/error_codes/E0373.md @@ -53,7 +53,7 @@ about safety. This error may also be encountered while using `async` blocks: -```compile_fail,E0373 +```compile_fail,E0373,edition2018 use std::{sync::Arc, future::Future, pin::Pin, task::{Context, Poll}}; async fn f() {