From aaeea7ffc36cd705116bf45f0479e51788ae33c5 Mon Sep 17 00:00:00 2001 From: mibac138 <5672750+mibac138@users.noreply.github.com> Date: Tue, 19 May 2020 22:12:41 +0200 Subject: Alter wording for `use foo::self` help --- src/test/ui/error-codes/E0429.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/ui/error-codes') diff --git a/src/test/ui/error-codes/E0429.stderr b/src/test/ui/error-codes/E0429.stderr index 457782583a5..c598803fa6c 100644 --- a/src/test/ui/error-codes/E0429.stderr +++ b/src/test/ui/error-codes/E0429.stderr @@ -4,11 +4,11 @@ error[E0429]: `self` imports are only allowed within a { } list LL | use std::fmt::self; | ^^^^^^ | -help: Remove `::self`.. +help: consider importing the module directly | LL | use std::fmt; | -- -help: ..or add braces around `self` +help: alternatively, use the multi-path `use` syntax to import `self` | LL | use std::fmt::{self}; | ^ ^ -- cgit 1.4.1-3-g733a5