Skip to content

Remove reflection #18064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed

Remove reflection #18064

wants to merge 13 commits into from

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Oct 15, 2014

Out goes reflection! This means your code will break if you used the :? format specifier, anything else from libdebug, or the visit_tydesc intrinsic directly.

Closes #18046.

[breaking-change]

@rust-highfive
Copy link
Contributor

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@alexcrichton
Copy link
Member

Awesome work, thanks @luqmana!

@luqmana luqmana force-pushed the remove-reflection branch 3 times, most recently from 5b8ff8d to 6f35eba Compare October 15, 2014 21:15
@nrc nrc self-assigned this Oct 16, 2014
@@ -130,7 +130,7 @@ pub fn decode_inlined_item<'tcx>(cdata: &cstore::crate_metadata,
None => Err(path),
Some(ast_doc) => {
let mut path_as_str = None;
debug!("> Decoding inlined fn: {}::?",
debug!("> Decoding inlined fn: {}:",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a misfire?

@nrc
Copy link
Member

nrc commented Oct 16, 2014

r=me with the nits addressed

@luqmana luqmana force-pushed the remove-reflection branch 2 times, most recently from 8d60765 to ca44246 Compare October 16, 2014 04:19
bors added a commit that referenced this pull request Oct 16, 2014
Out goes reflection! This means your code will break if you used the `:?` format specifier, anything else from libdebug, or the `visit_tydesc` intrinsic directly.

Closes #18046.

[breaking-change]
@bors bors closed this Oct 16, 2014
@luqmana luqmana deleted the remove-reflection branch October 17, 2014 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove reflection
6 participants