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/resolve/issue-3907-2.rs

15 lines
177 B
Rust
Raw Normal View History

Moved issue tests to subdirs and normalised names.
2019-03-12 00:49:17 +00:00
// aux-build:issue-3907.rs
rustc: catch `impl X for Y` where X is not a trait in resolve.
2014-06-19 23:23:51 +01:00
extern crate issue_3907;
Update ui test suite to use dyn
2019-05-28 14:46:13 -04:00
type Foo = dyn issue_3907::Foo + 'static;
rustc: catch `impl X for Y` where X is not a trait in resolve.
2014-06-19 23:23:51 +01:00
struct S {
Update compile fail tests to use isize.
2015-01-08 21:54:35 +11:00
name: isize
rustc: catch `impl X for Y` where X is not a trait in resolve.
2014-06-19 23:23:51 +01:00
}
Fallout in tests --- misc error message changes, WF fixes
2015-08-07 13:23:11 -04:00
fn bar(_x: Foo) {}
Make RFC 1214 warnings into errors, and rip out the "warn or err" associated machinery. Future such attempts should go through lints anyhow. There is a fair amount of fallout in the compile-fail tests, as WF checking now occurs earlier in the process.
2015-12-15 04:31:58 -05:00
//~^ ERROR E0038
Rebasing changes
2014-08-06 11:59:40 +02:00
rustc: catch `impl X for Y` where X is not a trait in resolve.
2014-06-19 23:23:51 +01:00
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4840ms 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