Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/privacy/private-method-cross-crate.rs

9 lines
183 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ aux-build:cci_class_5.rs
extern mod => extern crate This was previously implemented, and it just needed a snapshot to go through
2014-02-14 10:10:06 -08:00
extern crate cci_class_5;
Add appropriate #[feature] directives to tests
2013-10-02 20:00:54 -07:00
use cci_class_5::kitties::cat;
In typeck, don't call ty::store_iface_methods on private methods This was resulting in a different error message depending on whether the private method you were trying to call was in the same crate or a different one.
2012-03-26 10:45:04 -07:00
fn main() {
Add comments explaining why these tests are xfailed
2012-11-15 18:11:08 -08:00
let nyan : cat = cat(52, 99);
diagnostics: update test cases to refer to assoc fn with `self` as method
2023-02-21 14:11:08 -07:00
nyan.nap(); //~ ERROR method `nap` is private
In typeck, don't call ty::store_iface_methods on private methods This was resulting in a different error message depending on whether the private method you were trying to call was in the same crate or a different one.
2012-03-26 10:45:04 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 6353ms 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