about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-07-14 10:28:18 +0200
committerlcnr <rust@lcnr.de>2023-07-16 15:36:19 +0200
commite449daad6cc3db4890d4dbaa4d0ab2fa66215091 (patch)
treeabb785f0e82b846d55878fc276bf4d1ecc818320 /tests
parent19d46b690a8dddcb19e4919c19939844c4441594 (diff)
downloadrust-e449daad6cc3db4890d4dbaa4d0ab2fa66215091.tar.gz
rust-e449daad6cc3db4890d4dbaa4d0ab2fa66215091.zip
stop mentioning number of applicate implementations
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/error-codes/E0283.stderr2
-rw-r--r--tests/ui/error-codes/E0790.stderr2
-rw-r--r--tests/ui/inference/need_type_info/infer-var-for-self-param.stderr2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/error-codes/E0283.stderr b/tests/ui/error-codes/E0283.stderr
index 89e634a7064..fa8d4b6e015 100644
--- a/tests/ui/error-codes/E0283.stderr
+++ b/tests/ui/error-codes/E0283.stderr
@@ -7,7 +7,7 @@ LL |     fn create() -> u32;
 LL |     let cont: u32 = Generator::create();
    |                     ^^^^^^^^^^^^^^^^^ cannot call associated function of trait
    |
-help: use a fully-qualified path to a specific available implementation (2 found)
+help: use a fully-qualified path to a specific available implementation
    |
 LL |     let cont: u32 = </* self type */ as Generator>::create();
    |                     +++++++++++++++++++          +
diff --git a/tests/ui/error-codes/E0790.stderr b/tests/ui/error-codes/E0790.stderr
index 7248766285d..f559abae397 100644
--- a/tests/ui/error-codes/E0790.stderr
+++ b/tests/ui/error-codes/E0790.stderr
@@ -63,7 +63,7 @@ LL |     fn my_fn();
 LL |     MyTrait2::my_fn();
    |     ^^^^^^^^^^^^^^^ cannot call associated function of trait
    |
-help: use a fully-qualified path to a specific available implementation (2 found)
+help: use a fully-qualified path to a specific available implementation
    |
 LL |     </* self type */ as MyTrait2>::my_fn();
    |     +++++++++++++++++++         +
diff --git a/tests/ui/inference/need_type_info/infer-var-for-self-param.stderr b/tests/ui/inference/need_type_info/infer-var-for-self-param.stderr
index fdef4d0dd09..36d75469392 100644
--- a/tests/ui/inference/need_type_info/infer-var-for-self-param.stderr
+++ b/tests/ui/inference/need_type_info/infer-var-for-self-param.stderr
@@ -4,7 +4,7 @@ error[E0790]: cannot call associated function on trait without specifying the co
 LL |     let _ = (Default::default(),);
    |              ^^^^^^^^^^^^^^^^ cannot call associated function of trait
    |
-help: use a fully-qualified path to a specific available implementation (271 found)
+help: use a fully-qualified path to a specific available implementation
    |
 LL |     let _ = (</* self type */ as Default>::default(),);
    |              +++++++++++++++++++        +