about summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-23 22:39:59 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2020-03-24 08:38:32 +0100
commit92885e3a5bc855c24e302154635107c848f8b585 (patch)
tree338280bf7458ee8ea47b97e0708586658c27b5e7 /src/test/ui/methods
parentb3866a5c9315d2f882ab9f306df82c5fa66989bf (diff)
downloadrust-92885e3a5bc855c24e302154635107c848f8b585.tar.gz
rust-92885e3a5bc855c24e302154635107c848f8b585.zip
rustc_typeck: remove rustc_hir_pretty usage
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-path-in-pattern.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/methods/method-path-in-pattern.stderr b/src/test/ui/methods/method-path-in-pattern.stderr
index 1d1bdb6b052..ed3c0222c75 100644
--- a/src/test/ui/methods/method-path-in-pattern.stderr
+++ b/src/test/ui/methods/method-path-in-pattern.stderr
@@ -4,13 +4,13 @@ error[E0533]: expected unit struct, unit variant or constant, found associated f
 LL |         Foo::bar => {}
    |         ^^^^^^^^
 
-error[E0533]: expected unit struct, unit variant or constant, found associated function `Foo::bar`
+error[E0533]: expected unit struct, unit variant or constant, found associated function `<Foo>::bar`
   --> $DIR/method-path-in-pattern.rs:19:9
    |
 LL |         <Foo>::bar => {}
    |         ^^^^^^^^^^
 
-error[E0533]: expected unit struct, unit variant or constant, found associated function `Foo::trait_bar`
+error[E0533]: expected unit struct, unit variant or constant, found associated function `<Foo>::trait_bar`
   --> $DIR/method-path-in-pattern.rs:23:9
    |
 LL |         <Foo>::trait_bar => {}
@@ -22,7 +22,7 @@ error[E0533]: expected unit struct, unit variant or constant, found associated f
 LL |     if let Foo::bar = 0u32 {}
    |            ^^^^^^^^
 
-error[E0533]: expected unit struct, unit variant or constant, found associated function `Foo::bar`
+error[E0533]: expected unit struct, unit variant or constant, found associated function `<Foo>::bar`
   --> $DIR/method-path-in-pattern.rs:28:12
    |
 LL |     if let <Foo>::bar = 0u32 {}