summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr')
-rw-r--r--src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr b/src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr
deleted file mode 100644
index f2eb651ea..000000000
--- a/src/test/ui/suggestions/suggest-imm-mut-trait-implementations.stderr
+++ /dev/null
@@ -1,59 +0,0 @@
-error[E0277]: the trait bound `A: Trait` is not satisfied
- --> $DIR/suggest-imm-mut-trait-implementations.rs:20:9
- |
-LL | foo(a);
- | --- ^ the trait `Trait` is not implemented for `A`
- | |
- | required by a bound introduced by this call
- |
-note: required by a bound in `foo`
- --> $DIR/suggest-imm-mut-trait-implementations.rs:14:11
- |
-LL | fn foo<X: Trait>(_: X) {}
- | ^^^^^ required by this bound in `foo`
-help: consider borrowing here
- |
-LL | foo(&a);
- | +
-LL | foo(&mut a);
- | ++++
-
-error[E0277]: the trait bound `B: Trait` is not satisfied
- --> $DIR/suggest-imm-mut-trait-implementations.rs:21:9
- |
-LL | foo(b);
- | --- ^ the trait `Trait` is not implemented for `B`
- | |
- | required by a bound introduced by this call
- |
-note: required by a bound in `foo`
- --> $DIR/suggest-imm-mut-trait-implementations.rs:14:11
- |
-LL | fn foo<X: Trait>(_: X) {}
- | ^^^^^ required by this bound in `foo`
-help: consider borrowing here
- |
-LL | foo(&b);
- | +
-
-error[E0277]: the trait bound `C: Trait` is not satisfied
- --> $DIR/suggest-imm-mut-trait-implementations.rs:22:9
- |
-LL | foo(c);
- | --- ^ the trait `Trait` is not implemented for `C`
- | |
- | required by a bound introduced by this call
- |
-note: required by a bound in `foo`
- --> $DIR/suggest-imm-mut-trait-implementations.rs:14:11
- |
-LL | fn foo<X: Trait>(_: X) {}
- | ^^^^^ required by this bound in `foo`
-help: consider mutably borrowing here
- |
-LL | foo(&mut c);
- | ++++
-
-error: aborting due to 3 previous errors
-
-For more information about this error, try `rustc --explain E0277`.