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
5d26f58423f72e300ef48df591c08e3d446b51aa
rust/tests/ui/error-codes/E0438.rs

9 lines
95 B
Rust
Raw Normal View History

fix "X is not a member of trait Y" span labels The span labels for associated types and consts were hardcoded to `Foo` rather than substituting the name of the trait. This also normalizes the wording for associated methods', traits', and consts' span labels. Fixes #36428.
2016-09-12 17:47:59 -04:00
trait Bar {}
Add new error code tests
2016-08-17 23:45:10 +02:00
fix "X is not a member of trait Y" span labels The span labels for associated types and consts were hardcoded to `Foo` rather than substituting the name of the trait. This also normalizes the wording for associated methods', traits', and consts' span labels. Fixes #36428.
2016-09-12 17:47:59 -04:00
impl Bar for i32 {
Add new error code tests
2016-08-17 23:45:10 +02:00
const BAR: bool = true; //~ ERROR E0438
}
fn main () {
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 2850ms Template: 2ms
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