summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/default.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/parser/default.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/parser/default.stderr')
-rw-r--r--src/test/ui/parser/default.stderr48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/test/ui/parser/default.stderr b/src/test/ui/parser/default.stderr
deleted file mode 100644
index 37aa48ccf..000000000
--- a/src/test/ui/parser/default.stderr
+++ /dev/null
@@ -1,48 +0,0 @@
-error: `default` is not followed by an item
- --> $DIR/default.rs:23:5
- |
-LL | default pub fn foo<T: Default>() -> T { T::default() }
- | ^^^^^^^ the `default` qualifier
- |
- = note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
-
-error: non-item in item list
- --> $DIR/default.rs:23:13
- |
-LL | impl Foo for u32 {
- | - item list starts here
-LL | default pub fn foo<T: Default>() -> T { T::default() }
- | ^^^ non-item starts here
-...
-LL | }
- | - item list ends here
-
-error[E0449]: unnecessary visibility qualifier
- --> $DIR/default.rs:17:5
- |
-LL | pub default fn foo<T: Default>() -> T {
- | ^^^ `pub` not permitted here because it's implied
-
-warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
- --> $DIR/default.rs:3:12
- |
-LL | #![feature(specialization)]
- | ^^^^^^^^^^^^^^
- |
- = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
- = help: consider using `min_specialization` instead, which is more stable and complete
- = note: `#[warn(incomplete_features)]` on by default
-
-error[E0046]: not all trait items implemented, missing: `foo`
- --> $DIR/default.rs:22:1
- |
-LL | fn foo<T: Default>() -> T;
- | -------------------------- `foo` from trait
-...
-LL | impl Foo for u32 {
- | ^^^^^^^^^^^^^^^^ missing `foo` in implementation
-
-error: aborting due to 4 previous errors; 1 warning emitted
-
-Some errors have detailed explanations: E0046, E0449.
-For more information about an error, try `rustc --explain E0046`.