Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
14e59bb317c3c901bce83deb16ee9bfa5cc90e28
rust/tests/ui/deriving/issue-6341.rs

12 lines
155 B
Rust
Raw Normal View History

Use check-pass in ui tests where appropriate
2019-11-04 00:00:00 +00:00
// check-pass
rustdoc: Replace no-pretty-expanded with pretty-expanded Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-22 13:13:15 -07:00
// pretty-expanded FIXME #23616
Use `derive` rather than `deriving` in tests
2014-12-31 17:32:49 +13:00
#[derive(PartialEq)]
Mass rename uint/int to usize/isize Now that support has been removed, all lingering use cases are renamed.
2015-03-25 17:06:52 -07:00
struct A { x: usize }
Disallow deconstructing destructing structs (fixes #3147)
2012-08-20 20:05:00 -04:00
librustc: allow destructuring of structs with destructors if the pattern has no moves. This check only works for `match`s, the checks (incorrectly) do not run for patterns in `let`s.
2013-05-10 16:12:19 +10:00
impl Drop for A {
switch Drop to `&mut self`
2013-09-16 21:18:07 -04:00
fn drop(&mut self) {}
Disallow deconstructing destructing structs (fixes #3147)
2012-08-20 20:05:00 -04:00
}
Fix run-pass tests to have 'pub fn main' This is required by the check-fast target because each test is slurped up into a submodule.
2013-09-25 00:43:37 -07:00
pub fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4412ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API