You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current master errors when there's a type with the same name as a module. The following used to compile fine on previous versions (including 0.4 and a little later):
use myfloat = core::f32;typemyfloat = f32;// without thisfnfoo() -> myfloat{// this errors with: found typename used as variable// ^~~~~~~3_f32;}// but when adding it I get:// error: unresolved name// error: use of undeclared module 'myfloat'// error: unresolved name myfloat::sqrt// at the y = linefnmain(){let x:f32 = 3_f32;let y = myfloat::sqrt(x);// ^~~~~~~~~~~~~}
The text was updated successfully, but these errors were encountered:
Use `@only-target` in SSE and SSE2 tests too
It looks cleaner and makes it consistent with other X86 tests.
The huge diffs are mostly indentation changes.
Current master errors when there's a type with the same name as a module. The following used to compile fine on previous versions (including 0.4 and a little later):
The text was updated successfully, but these errors were encountered: