about summary refs log tree commit diff
path: root/src/test/codegen/virtual-method-call.rs
AgeCommit message (Collapse)AuthorLines
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-2/+2
Now that support has been removed, all lingering use cases are renamed.
2014-09-22librustc: Forbid private types in public APIs.Patrick Walton-1/+1
This breaks code like: struct Foo { ... } pub fn make_foo() -> Foo { ... } Change this code to: pub struct Foo { // note `pub` ... } pub fn make_foo() -> Foo { ... } The `visible_private_types` lint has been removed, since it is now an error to attempt to expose a private type in a public API. In its place a `#[feature(visible_private_types)]` gate has been added. Closes #16463. RFC #48. [breaking-change]
2013-10-10Add `pub` to all the codegen testsAlex Crichton-1/+1
Otherwise the test function is internalized and LLVM will most likely optimize it out.
2013-07-31test: add more codegen tests, add copyright headers to all.Graydon Hoare-0/+18