Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Implemented a show_type function for nightly playbot. #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emilgardis
Copy link

@Emilgardis Emilgardis commented Apr 28, 2017

This change also defaults #![feature(core_intrinsics)] on --nightly

One question one should ask before merging is if it is viable to include an intrinsics function in this project, as intrinsics are currently unstable.

Thanks to user albel727 on irc for the idea.
@albel727

@Emilgardis Emilgardis changed the title Implemented a show_type function for nightly. Implemented a show_type function for nightly playbot. Apr 28, 2017
This change also defaults `#![feature(core_intrinsics)]` on --nightly
@Emilgardis
Copy link
Author

The reasons for this is because using () == T or let _:() = T when teaching users on irc doesn't show what the type is in the output as it is a compile time error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant