Add unstable type_ascribe
macro
This macro serves as a placeholder for future type ascription syntax to make sure that the semantic implementation keeps working.
This commit is contained in:
parent
2a434286a9
commit
6ee0dd97e3
6 changed files with 76 additions and 0 deletions
|
@ -85,6 +85,14 @@ pub use core::prelude::v1::cfg_accessible;
|
|||
)]
|
||||
pub use core::prelude::v1::cfg_eval;
|
||||
|
||||
// Do not `doc(no_inline)` either.
|
||||
#[unstable(
|
||||
feature = "type_ascription",
|
||||
issue = "23416",
|
||||
reason = "placeholder syntax for type ascription"
|
||||
)]
|
||||
pub use core::prelude::v1::type_ascribe;
|
||||
|
||||
// The file so far is equivalent to src/libcore/prelude/v1.rs,
|
||||
// and below to src/liballoc/prelude.rs.
|
||||
// Those files are duplicated rather than using glob imports
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue