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
b7c192e3466a7301e9291ab296b3f9b1a416dfa8
rust/src/test/ui/issues/issue-16683.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
127 B
Rust
Raw Normal View History

Add test cases for E-needstest issues
2014-10-26 00:07:41 +02:00
trait T<'a> {
fn a(&'a self) -> &'a bool;
fn b(&self) {
Rewrite method resolution to be cleaner, more correct, and to lay groundwork for better performance. Key points: - Separate out determining which method to use from actually selecting a method (this should enable caching, as well as the pcwalton fast-reject strategy). - Merge the impl selection back into method resolution and don't rely on trait matching (this should perform better but also is needed to resolve some kind of conflicts, see e.g. `method-two-traits-distinguished-via-where-clause.rs`) - Purge a lot of out-of-date junk and coercions from method lookups.
2014-11-05 22:06:04 -05:00
self.a(); //~ ERROR cannot infer
Add test cases for E-needstest issues
2014-10-26 00:07:41 +02:00
}
}
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 6425ms Template: 3ms
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