April 2016's Issue #33174 called out the E0446 diagnostics as
confusing. While adding the name of the restricted type to the message
(
|
||
|---|---|---|
| .. | ||
| issue-33174-restricted-type-in-public-interface.rs | ||
| issue-33174-restricted-type-in-public-interface.stderr | ||
| pub-restricted-error-fn.rs | ||
| pub-restricted-error-fn.stderr | ||
| pub-restricted-error.rs | ||
| pub-restricted-error.stderr | ||
| pub-restricted-non-path.rs | ||
| pub-restricted-non-path.stderr | ||
| pub-restricted.rs | ||
| pub-restricted.stderr | ||