-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the default context selector suffix to
Snafu
- Loading branch information
1 parent
37077f9
commit dd06ca4
Showing
57 changed files
with
309 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
compatibility-tests/compile-fail/tests/ui/structs/visibility.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
error[E0603]: unit struct `Context` is private | ||
error[E0603]: unit struct `Snafu` is private | ||
--> $DIR/visibility.rs:11:20 | ||
| | ||
11 | let _ = inner::Context.build(); | ||
| ^^^^^^^ private unit struct | ||
11 | let _ = inner::Snafu.build(); | ||
| ^^^^^ private unit struct | ||
| | ||
note: the unit struct `Context` is defined here | ||
note: the unit struct `Snafu` is defined here | ||
--> $DIR/visibility.rs:6:21 | ||
| | ||
6 | #[derive(Debug, Snafu)] | ||
| ^^^^^ | ||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0624]: associated function `build` is private | ||
--> $DIR/visibility.rs:11:28 | ||
--> $DIR/visibility.rs:11:26 | ||
| | ||
11 | let _ = inner::Context.build(); | ||
| ^^^^^ private associated function | ||
11 | let _ = inner::Snafu.build(); | ||
| ^^^^^ private associated function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 21 additions & 21 deletions
42
compatibility-tests/compile-fail/tests/ui/visibility.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
error[E0603]: unit struct `Private` is private | ||
error[E0603]: unit struct `PrivateSnafu` is private | ||
--> $DIR/visibility.rs:19:30 | ||
| | ||
19 | let _ = self::inner::Private.build(); | ||
| ^^^^^^^ private unit struct | ||
19 | let _ = self::inner::PrivateSnafu.build(); | ||
| ^^^^^^^^^^^^ private unit struct | ||
| | ||
note: the unit struct `Private` is defined here | ||
note: the unit struct `PrivateSnafu` is defined here | ||
--> $DIR/visibility.rs:7:25 | ||
| | ||
7 | #[derive(Debug, Snafu)] | ||
| ^^^^^ | ||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0603]: unit struct `PubInPath` is private | ||
error[E0603]: unit struct `PubInPathSnafu` is private | ||
--> $DIR/visibility.rs:24:33 | ||
| | ||
24 | let _ = self::outer::inner::PubInPath.build(); | ||
| ^^^^^^^^^ private unit struct | ||
24 | let _ = self::outer::inner::PubInPathSnafu.build(); | ||
| ^^^^^^^^^^^^^^ private unit struct | ||
| | ||
note: the unit struct `PubInPath` is defined here | ||
note: the unit struct `PubInPathSnafu` is defined here | ||
--> $DIR/visibility.rs:7:25 | ||
| | ||
7 | #[derive(Debug, Snafu)] | ||
| ^^^^^ | ||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0603]: unit struct `Private` is private | ||
error[E0603]: unit struct `PrivateSnafu` is private | ||
--> $DIR/visibility.rs:28:33 | ||
| | ||
28 | let _ = self::outer::inner::Private.build(); | ||
| ^^^^^^^ private unit struct | ||
28 | let _ = self::outer::inner::PrivateSnafu.build(); | ||
| ^^^^^^^^^^^^ private unit struct | ||
| | ||
note: the unit struct `Private` is defined here | ||
note: the unit struct `PrivateSnafu` is defined here | ||
--> $DIR/visibility.rs:7:25 | ||
| | ||
7 | #[derive(Debug, Snafu)] | ||
| ^^^^^ | ||
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0624]: associated function `build` is private | ||
--> $DIR/visibility.rs:19:38 | ||
--> $DIR/visibility.rs:19:43 | ||
| | ||
19 | let _ = self::inner::Private.build(); | ||
| ^^^^^ private associated function | ||
19 | let _ = self::inner::PrivateSnafu.build(); | ||
| ^^^^^ private associated function | ||
|
||
error[E0624]: associated function `build` is private | ||
--> $DIR/visibility.rs:24:43 | ||
--> $DIR/visibility.rs:24:48 | ||
| | ||
24 | let _ = self::outer::inner::PubInPath.build(); | ||
| ^^^^^ private associated function | ||
24 | let _ = self::outer::inner::PubInPathSnafu.build(); | ||
| ^^^^^ private associated function | ||
|
||
error[E0624]: associated function `build` is private | ||
--> $DIR/visibility.rs:28:41 | ||
--> $DIR/visibility.rs:28:46 | ||
| | ||
28 | let _ = self::outer::inner::Private.build(); | ||
| ^^^^^ private associated function | ||
28 | let _ = self::outer::inner::PrivateSnafu.build(); | ||
| ^^^^^ private associated function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.